From b466216b3a6bc715d363d7a3d3e88ad075631f7f Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Mon, 13 Apr 2026 20:33:11 +0200 Subject: [PATCH] Fix BlockFormListener --- .../src/de/steamwar/fightsystem/listener/BlockFormListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/listener/BlockFormListener.java b/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/listener/BlockFormListener.java index f24124c0..29c6be82 100644 --- a/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/listener/BlockFormListener.java +++ b/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/listener/BlockFormListener.java @@ -37,7 +37,7 @@ public class BlockFormListener implements Listener { @EventHandler public void onBlockForm(BlockFormEvent event) { - if (Config.ArenaRegion.inRegion(event.getBlock()) && event.getBlock().getType() == Material.ICE) { + if (Config.ArenaRegion.inRegion(event.getBlock()) && event.getNewState().getType() == Material.ICE) { event.setCancelled(true); } }