From b2efaa55f66480e45208655c87f5789f63e452ee Mon Sep 17 00:00:00 2001 From: jojo Date: Mon, 16 Nov 2020 14:02:05 +0100 Subject: [PATCH] Add Permission Check --- .../src/de/steamwar/bausystem/commands/CommandTPSLimiter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTPSLimiter.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTPSLimiter.java index 40cfd84..a90a51d 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTPSLimiter.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandTPSLimiter.java @@ -86,8 +86,7 @@ public class CommandTPSLimiter implements CommandExecutor { return false; } Player player = (Player) sender; - // TODO: Remove on final push - // if (permissionCheck(player)) return false; + if (permissionCheck(player)) return false; String tpsLimit = args[0]; if (tpsLimit.equals("default")) {