From f4160176edb5dc08edc89fe3792773b51ada8b8c Mon Sep 17 00:00:00 2001 From: zOnlyKroks Date: Fri, 9 Jul 2021 15:17:52 +0200 Subject: [PATCH] Anti_Ice_Melt --- .../src/de/steamwar/fightsystem/listener/BlockFade.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/listener/BlockFade.java b/FightSystem_Main/src/de/steamwar/fightsystem/listener/BlockFade.java index 6ccc4c3..cea0a6c 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/listener/BlockFade.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/listener/BlockFade.java @@ -16,8 +16,6 @@ public class BlockFade implements Listener { @EventHandler public void blockFade(BlockFadeEvent event) { - if(event.getBlock().getType() == Material.ICE) { - event.setCancelled(true); - } + event.setCancelled(true); } }