Removed isNPCPlayer, isNPCEntity is identical

This commit is contained in:
bm01
2013-02-19 01:46:50 +01:00
parent 519485f155
commit ad68f50b14
8 changed files with 27 additions and 36 deletions

View File

@ -6,7 +6,6 @@ import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Item;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import com.gmail.nossr50.mcMMO;
@ -38,14 +37,6 @@ public final class Misc {
return false;
}
public static boolean isNPCPlayer(Player player) {
if (player == null || player.hasMetadata("NPC")) {
return true;
}
return false;
}
/**
* Get the upgrade tier of the item in hand.
*