From b78069fd312e75b09b6676b965ee4d84643a9e96 Mon Sep 17 00:00:00 2001 From: Light_Quanta Date: Sun, 23 Feb 2025 07:00:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dah6=20damageModifier=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/atsuishio/superbwarfare/entity/vehicle/Ah6Entity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Ah6Entity.java b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Ah6Entity.java index a4e116b3f..b3c4d2ccd 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Ah6Entity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Ah6Entity.java @@ -138,7 +138,7 @@ public class Ah6Entity extends ContainerMobileEntity implements GeoEntity, IHeli } this.level().playSound(null, this.getOnPos(), ModSounds.HIT.get(), SoundSource.PLAYERS, 1, 1); - amount = getDamageModifier().compute(source, amount); + amount = damageModifier.compute(source, amount); super.hurt(source, amount); this.hurt(amount, source.getEntity(), true);