Permalink
Browse files

Allow NPCs to bypass region protections.

  • Loading branch information...
wizjany committed Jan 25, 2019
1 parent d5dddba commit dc5c065c7e6d5d09c8bf6fcd21ba406caccb6568
@@ -70,6 +70,10 @@ public static boolean isFakePlayer(Player player) {
UUID uuid = player.getUniqueId();
String name = player.getName();

if (player.hasMetadata("NPC")) {
return true;
}

if (uuid.equals(forgeFakePlayerUuid)) {
return true;
}

0 comments on commit dc5c065

Please sign in to comment.