Browse Source

Cover ALL the bases.

gmcferrin 12 years ago
parent
commit
08b46e1a7c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/gmail/nossr50/util/Misc.java

+ 1 - 1
src/main/java/com/gmail/nossr50/util/Misc.java

@@ -26,7 +26,7 @@ public class Misc {
     public static final int PLAYER_RESPAWN_COOLDOWN_SECONDS = 5;
 
     public static boolean isCitizensNPC(Player player) {
-        if (player == null || Users.getProfile(player) == null) {
+        if (player == null || Users.getProfile(player) == null || player.hasMetadata("NPC")) {
             return true;
         }