Try to fix NPC issues

This commit is contained in:
Gabriele C
2015-11-24 23:23:45 +01:00
parent be1eb9392a
commit 2c0d140da9
2 changed files with 3 additions and 3 deletions
@@ -128,7 +128,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;
}