From d332977a1d8457997afdf1b200c7a3fd4fbe022e Mon Sep 17 00:00:00 2001 From: jojo Date: Fri, 25 Dec 2020 23:08:59 +0100 Subject: [PATCH] Fix Trace auto messages --- .../src/de/steamwar/bausystem/commands/CommandTrace.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTrace.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTrace.java index 44a240c..336ac2c 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTrace.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTrace.java @@ -78,15 +78,18 @@ public class CommandTrace implements CommandExecutor { case "auto": RecordStateMachine.commandAuto(); switch (RecordStateMachine.getRecordStatus()) { - case RECORD_AUTO: - player.sendMessage(BauSystem.PREFIX + "§aAuto-Tracer gestartet"); + case IDLE: + player.sendMessage(BauSystem.PREFIX + "§cAuto-Tracer gestoppt"); break; case IDLE_AUTO: - player.sendMessage(BauSystem.PREFIX + "§cAuto-Tracer gestoppt"); + player.sendMessage(BauSystem.PREFIX + "§aAuto-Tracer gestartet"); break; case RECORD: player.sendMessage(BauSystem.PREFIX + "§cTNT-Tracer muss gestoppt werden"); break; + case RECORD_AUTO: + player.sendMessage(BauSystem.PREFIX + "§cTNT-Tracer muss aus sein"); + break; } break; case "clear":