seniors get console

This commit is contained in:
Lemon 2019-11-04 17:42:01 +05:00 committed by GitHub
parent 4a69f529c2
commit 23b29bdf38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ public class Command_manageshop extends FreedomCommand
msg("The shop is currently disabled!", ChatColor.RED); msg("The shop is currently disabled!", ChatColor.RED);
return true; 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); msg("Only executives can use this command!", ChatColor.RED);
return true; return true;