From 6a843f4a719b09d8837c1b5df1ffa3185ebb5cf7 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sun, 10 May 2026 11:29:26 +0200 Subject: [PATCH] Implement old bau behavior for WGS Signed-off-by: Chaoscaot --- .../src/de/steamwar/fightsystem/listener/Permanent.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/listener/Permanent.java b/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/listener/Permanent.java index 9d353d30..14b0a8ff 100644 --- a/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/listener/Permanent.java +++ b/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/listener/Permanent.java @@ -181,7 +181,12 @@ public class Permanent implements Listener { @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) public void onExplosion(EntityExplodeEvent e) { - if (!(e.getEntity() instanceof TNTPrimed)) return; + if (!(e.getEntity() instanceof TNTPrimed)) { + if (Config.GameModeConfig.Schematic.Type.toDB().equals("wargearseason26")) { + e.blockList().clear(); + } + return; + } if (!Config.GameModeConfig.Arena.WaterDamage) return; e.blockList().removeIf(block -> { if(block.getType() == Material.TNT) {