From 0dfed9f18a4d4a6b9245be93b00ddc50427b79f4 Mon Sep 17 00:00:00 2001 From: Jan9103 Date: Mon, 29 Jun 2020 07:47:32 +0200 Subject: [PATCH 1/2] TntCommand Rework --- .../src/de/steamwar/bausystem/commands/CommandTNT.java | 1 + 1 file changed, 1 insertion(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTNT.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTNT.java index f077b5e..7b7d628 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTNT.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTNT.java @@ -29,5 +29,6 @@ public class CommandTNT extends ToggleCommand { @EventHandler public void onExplode(EntityExplodeEvent e) { e.setCancelled(true); + e.blockList().clear(); } } -- 2.39.5 From 3207cd844be18a49493da61edfec13157ba1c200 Mon Sep 17 00:00:00 2001 From: Jan9103 Date: Mon, 29 Jun 2020 07:50:25 +0200 Subject: [PATCH 2/2] TntCommand Rework --- .../src/de/steamwar/bausystem/commands/CommandTNT.java | 1 - 1 file changed, 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTNT.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTNT.java index 7b7d628..1c35d4c 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTNT.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTNT.java @@ -28,7 +28,6 @@ public class CommandTNT extends ToggleCommand { @EventHandler public void onExplode(EntityExplodeEvent e) { - e.setCancelled(true); e.blockList().clear(); } } -- 2.39.5