From a4a8c57b62791e28feda239beefeb1a4478a2bbf Mon Sep 17 00:00:00 2001 From: Light_Quanta Date: Sun, 13 Jul 2025 22:59:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E6=89=A3=E9=99=A4=E7=82=AE?= =?UTF-8?q?=E5=BC=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../atsuishio/superbwarfare/entity/vehicle/Type63Entity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Type63Entity.java b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Type63Entity.java index 621bf9e2c..524c5e97a 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Type63Entity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Type63Entity.java @@ -201,10 +201,10 @@ public class Type63Entity extends ContainerMobileVehicleEntity implements GeoEnt return InteractionResult.SUCCESS; } } else { - //TODO 正确实现扣除炮弹 for (int i = 0; i < 12; i++) { if (items.get(i).getItem() instanceof MediumRocketItem) { - items.remove(i); + items.set(i, ItemStack.EMPTY); + setChanged(); player.swing(InteractionHand.MAIN_HAND); break; }