Permalink
Browse files

Allow NPCs to bypass region protections. (#393)

  • Loading branch information...
wizjany authored and me4502 committed Feb 4, 2019
1 parent d5dddba commit d24157e693ec0c6735881159011a448c3e402fb9
@@ -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 d24157e

Please sign in to comment.