From fa6a5abf67921f1f440e5c52742d671bb9ad9a45 Mon Sep 17 00:00:00 2001 From: jojo Date: Sun, 19 Jul 2020 01:06:29 +0200 Subject: [PATCH] Add permissionCheck Remove "/trace gui" --- .../src/de/steamwar/bausystem/commands/CommandTrace.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTrace.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTrace.java index 13cef47..a734d91 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTrace.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTrace.java @@ -89,7 +89,7 @@ public class CommandTrace implements CommandExecutor { return false; } - //if (!permissionCheck(player)) return false; + if (!permissionCheck(player)) return false; switch(args[0].toLowerCase()){ case "start": @@ -217,7 +217,8 @@ public class CommandTrace implements CommandExecutor { TNTTracer15.printList(player); break; case "gui": - player.sendMessage(BauSystem.PREFIX + "§cNoch in Bau"); + //player.sendMessage(BauSystem.PREFIX + "§cNoch in Bau"); + help15(player); break; default: help15(player);