From 5ed1e0f024f2ca2b0fd996b0cb93560ccc04cef0 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 10 May 2023 20:57:48 +0200 Subject: [PATCH] Fix TNT prior to start Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/listener/Permanent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/listener/Permanent.java b/FightSystem_Core/src/de/steamwar/fightsystem/listener/Permanent.java index c2e49bf..4cc2f17 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/listener/Permanent.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/listener/Permanent.java @@ -171,7 +171,7 @@ public class Permanent implements Listener { } } - @EventHandler(priority = EventPriority.MONITOR) + @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) public void onExplosion(EntityExplodeEvent e) { e.blockList().removeIf(block -> { if(block.getType() == Material.TNT) {