From d4d3e3067d46d39bc2a403a501bac8d351de5ba7 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 2 Apr 2021 18:46:36 +0200 Subject: [PATCH] Fix CommandTrace --- .../src/de/steamwar/bausystem/commands/CommandTrace.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTrace.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTrace.java index fc32547..16ca399 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTrace.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTrace.java @@ -25,6 +25,7 @@ import de.steamwar.bausystem.gui.GuiTraceShow; import de.steamwar.bausystem.tracer.record.RecordStateMachine; import de.steamwar.bausystem.tracer.show.ShowModeParameter; import de.steamwar.bausystem.tracer.show.ShowModeParameterType; +import de.steamwar.bausystem.tracer.show.StoredRecords; import de.steamwar.bausystem.tracer.show.TraceShowManager; import de.steamwar.bausystem.tracer.show.mode.EntityShowMode; import de.steamwar.bausystem.world.Welt; @@ -85,6 +86,7 @@ public class CommandTrace extends SWCommand { @Register({"delete"}) public void deleteCommand(Player p) { if (!permissionCheck(p)) return; + StoredRecords.clear(); p.sendMessage(BauSystem.PREFIX + "§cAlle TNT-Positionen gelöscht"); }