From 75e6476056c098ce55c736db3ed45f87d6643b5f Mon Sep 17 00:00:00 2001 From: Atsuishio <842960157@qq.com> Date: Mon, 14 Apr 2025 03:01:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8A=A0=E7=89=B9=E6=9E=97?= =?UTF-8?q?=E5=8F=B3=E9=94=AE=E5=BC=80=E7=81=ABbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entity/vehicle/base/MobileVehicleEntity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/base/MobileVehicleEntity.java b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/base/MobileVehicleEntity.java index b68829b20..8f83c5295 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/base/MobileVehicleEntity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/base/MobileVehicleEntity.java @@ -264,14 +264,14 @@ public abstract class MobileVehicleEntity extends EnergyVehicleEntity implements this.level().addFreshEntity(flareDecoyEntity); } this.level().playSound(null, this, ModSounds.DECOY_FIRE.get(), this.getSoundSource(), 1, 1); - if (this.getEntityData().get(DECOY_COUNT) == 3) { + if (this.getEntityData().get(DECOY_COUNT) == 4) { decoyReloadCoolDown = 300; } this.getEntityData().set(DECOY_COUNT, this.getEntityData().get(DECOY_COUNT) - 1); } decoyInputDown = false; } - if (this.entityData.get(DECOY_COUNT) < 3 && decoyReloadCoolDown == 0 && this.level() instanceof ServerLevel) { + if (this.entityData.get(DECOY_COUNT) < 4 && decoyReloadCoolDown == 0 && this.level() instanceof ServerLevel) { this.entityData.set(DECOY_COUNT, this.entityData.get(DECOY_COUNT) + 1); this.level().playSound(null, this, ModSounds.DECOY_RELOAD.get(), this.getSoundSource(), 1, 1); decoyReloadCoolDown = 300;