From c1e9fe5664584866f3812499ec7177ea40cff5eb Mon Sep 17 00:00:00 2001 From: jojo Date: Sat, 19 Dec 2020 20:01:59 +0100 Subject: [PATCH] Add Permission check --- .../src/de/steamwar/bausystem/commands/CommandTrace.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTrace.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTrace.java index 44f65d4..983f726 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTrace.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTrace.java @@ -65,7 +65,7 @@ public class CommandTrace implements CommandExecutor { return false; } - // if (!permissionCheck(player)) return false; + if (!permissionCheck(player)) return false; switch (args[0].toLowerCase()) { case "start":