From 23b29bdf385901d4285642d6ccc376ac97ea52d9 Mon Sep 17 00:00:00 2001 From: Lemon Date: Mon, 4 Nov 2019 17:42:01 +0500 Subject: [PATCH] seniors get console --- .../totalfreedommod/command/Command_manageshop.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_manageshop.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_manageshop.java index 6fd0e8b5..bc119e15 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_manageshop.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_manageshop.java @@ -21,7 +21,7 @@ public class Command_manageshop extends FreedomCommand msg("The shop is currently disabled!", ChatColor.RED); return true; } - if (!FUtil.isExecutive(sender.getName()) && !sender.getName().equals("CONSOLE")) + if (!FUtil.isExecutive(sender.getName())) { msg("Only executives can use this command!", ChatColor.RED); return true; @@ -162,4 +162,4 @@ public class Command_manageshop extends FreedomCommand return false; } -} \ No newline at end of file +}