From d9db7d38baf36d08112e8a7a8a48b3dae8612e72 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Wed, 1 Dec 2021 15:21:28 +0100 Subject: [PATCH] Fix TraceCommand.deleteRecordTNT Signed-off-by: yoyosource --- BauSystem_Main/src/BauSystem.properties | 1 + .../src/de/steamwar/bausystem/features/tracer/TraceCommand.java | 1 + 2 files changed, 2 insertions(+) diff --git a/BauSystem_Main/src/BauSystem.properties b/BauSystem_Main/src/BauSystem.properties index 4986e703..5e5149b8 100644 --- a/BauSystem_Main/src/BauSystem.properties +++ b/BauSystem_Main/src/BauSystem.properties @@ -583,6 +583,7 @@ TRACE_RECORD_ELEMENT_DELETE = §7 §cLöschen TRACE_RECORD_ELEMENT_DELETE_HOVER = §7Trace §clöschen TRACE_RECORD_TNT_NOT_FOUND = §7Unbekanntes TNT TRACE_TNT_ELEMENT = §ePosition §8- §e{0} §7FuseTicks +TRACE_TNT_DELETE = §7TNT gelöscht TRACE_TNT_ELEMENT_HOVER = §7Zeige Infos zur §ePosition §7an TRACE_RECORD_TNT_POSITION_NOT_FOUND = §7Unbekannte TNT Position TRACE_CHAT_POSITION_HEAD = §ePosition diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/tracer/TraceCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/tracer/TraceCommand.java index 5ec05b8d..694d19b9 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/tracer/TraceCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/tracer/TraceCommand.java @@ -188,6 +188,7 @@ public class TraceCommand extends SWCommand { return; } record.remove(tntID); + BauSystem.MESSAGE.send("TRACE_TNT_DELETE", player); } @Register("record")