From 00eeafb54304b0e98be72f78a8505245a1c2022a Mon Sep 17 00:00:00 2001 From: Atsuihsio <842960157@qq.com> Date: Sat, 11 Jan 2025 00:01:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=88=86=E7=82=B8=E4=B8=8D?= =?UTF-8?q?=E7=A0=B4=E5=9D=8F=E6=96=B9=E5=9D=97bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gradle.properties | 2 +- .../atsuishio/superbwarfare/event/LivingEventHandler.java | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/gradle.properties b/gradle.properties index 98d79e734..a4f3d717b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,5 +13,5 @@ mod_description=A Warfare Mod minecraft_version=1.20.1 jei_version=15.2.0.27 cloth_config_version=11.1.106 -mod_version=0.3.6 +mod_version=0.3.7 mod_authors=Atsuishio, Roki27, Light_Quanta \ No newline at end of file diff --git a/src/main/java/com/atsuishio/superbwarfare/event/LivingEventHandler.java b/src/main/java/com/atsuishio/superbwarfare/event/LivingEventHandler.java index 4b1726477..78de89a09 100644 --- a/src/main/java/com/atsuishio/superbwarfare/event/LivingEventHandler.java +++ b/src/main/java/com/atsuishio/superbwarfare/event/LivingEventHandler.java @@ -44,7 +44,6 @@ import net.minecraft.world.item.ItemStack; import net.minecraft.world.level.GameRules; import net.minecraft.world.level.block.entity.HopperBlockEntity; import net.minecraftforge.event.entity.living.*; -import net.minecraftforge.event.level.ExplosionEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.network.PacketDistributor; @@ -55,13 +54,6 @@ import java.util.Objects; @Mod.EventBusSubscriber public class LivingEventHandler { - @SubscribeEvent - public static void onExplode(ExplosionEvent.Detonate event) { - event.getExplosion().clearToBlow(); - - } - - @SubscribeEvent public static void onEntityAttacked(LivingAttackEvent event) { if (event.getEntity().getVehicle() != null && event.getEntity().getVehicle() instanceof ICannonEntity) {