From b9c98c106d0e5e054736a4753233b79bf8466259 Mon Sep 17 00:00:00 2001 From: Light_Quanta Date: Sat, 10 May 2025 01:37:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E4=BF=AE=E5=A4=8D=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=83=85=E5=86=B5=E4=B8=8BDPS=E5=8F=91=E7=94=B5?= =?UTF-8?q?=E6=9C=BA=E8=A2=AB=E5=87=BB=E6=9D=80=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/atsuishio/superbwarfare/entity/DPSGeneratorEntity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/DPSGeneratorEntity.java b/src/main/java/com/atsuishio/superbwarfare/entity/DPSGeneratorEntity.java index 1381c6c2d..780d95e03 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/DPSGeneratorEntity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/DPSGeneratorEntity.java @@ -119,6 +119,7 @@ public class DPSGeneratorEntity extends LivingEntity implements GeoEntity { if (entity instanceof DPSGeneratorEntity generatorEntity) { event.setCanceled(true); + generatorEntity.setHealth(0.00001F); if (sourceEntity instanceof Player player) { SoundTool.playLocalSound(player, ModSounds.TARGET_DOWN.get(), 1, 1);