This commit is contained in:
ljacqu
2015-11-24 23:32:54 +01:00
2 changed files with 10 additions and 4 deletions
@@ -130,7 +130,7 @@ public final class Utils {
// TODO: Move to a Manager
public static boolean checkAuth(Player player) {
if (player == null || Utils.isUnrestricted(player)) {
if (player == null || Utils.isUnrestricted(player) || Utils.isNPC(player)) {
return true;
}