Cover ALL the bases.

This commit is contained in:
gmcferrin 2013-01-08 17:26:11 -05:00
parent b78299bbbd
commit 08b46e1a7c

View File

@ -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;
}