From 3a2a5f6cd30cd75553b5378dd51d03adfe12c7f7 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 8 Mar 2021 08:40:40 +0100 Subject: [PATCH] Remove CommandRedstoneTester help message in help message --- .../steamwar/bausystem/commands/CommandRedstoneTester.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandRedstoneTester.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandRedstoneTester.java index 92eb5f7..22b1837 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandRedstoneTester.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandRedstoneTester.java @@ -30,7 +30,6 @@ public class CommandRedstoneTester implements CommandExecutor { private void help(Player player) { player.sendMessage("§7Messe die Zeit zwischen der Aktivierung zweier Redstone Komponenten"); - player.sendMessage("§8/§eredstonetester help §8- §7Zeigt diese Nachricht"); player.sendMessage("§8/§eredstonetester wand §8- §7Legt dir den Testerstab ins Inventar"); } @@ -44,12 +43,12 @@ public class CommandRedstoneTester implements CommandExecutor { return false; } switch (args[0].toLowerCase()) { - case "help": - help(player); - break; case "wand": SWUtils.giveItemToPlayer(player, RedstoneListener.WAND); break; + default: + help(player); + break; } return false; }