mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-27 02:58:03 +01:00
Cover ALL the bases.
This commit is contained in:
parent
b78299bbbd
commit
08b46e1a7c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user