mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-23 15:50:30 +02:00
Cover ALL the bases.
This commit is contained in:
@@ -26,7 +26,7 @@ public class Misc {
|
|||||||
public static final int PLAYER_RESPAWN_COOLDOWN_SECONDS = 5;
|
public static final int PLAYER_RESPAWN_COOLDOWN_SECONDS = 5;
|
||||||
|
|
||||||
public static boolean isCitizensNPC(Player player) {
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user