From bc898c57c3f9dda4ec70069ee10bde0377aa972b Mon Sep 17 00:00:00 2001 From: jojo Date: Sun, 27 Dec 2020 22:32:03 +0100 Subject: [PATCH] Bum Fix --- .../src/de/steamwar/bausystem/tracer/show/mode/Basic.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/tracer/show/mode/Basic.java b/BauSystem_Main/src/de/steamwar/bausystem/tracer/show/mode/Basic.java index 6ff527f..a91b117 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/tracer/show/mode/Basic.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/tracer/show/mode/Basic.java @@ -29,7 +29,11 @@ public class Basic implements ShowMode { } RoundedTNTPosition roundedTNTPosition = new RoundedTNTPosition(position); if (tntEntityMap.containsKey(roundedTNTPosition)) { - return; + if (!position.isExploded()) { + return; + } else { + tntEntityMap.remove(roundedTNTPosition).hide(player).killEntity(); + } } tntEntityMap.put(roundedTNTPosition, createEntity(position.getLocation(), position.isExploded(), true)); }