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);
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;
}
}
}