Metadata does nothing, apparently.

This commit is contained in:
gmcferrin
2013-01-08 17:24:09 -05:00
parent a5219055ef
commit b78299bbbd
3 changed files with 11 additions and 10 deletions

View File

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