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

@ -53,7 +53,7 @@ public abstract class AcrobaticsEventHandler {
protected boolean isFatal(int damage) {
Player player = manager.getMcMMOPlayer().getPlayer();
if (Misc.isNPCPlayer(player) || player.getHealth() - damage < 1) {
if (Misc.isNPCEntity(player) || player.getHealth() - damage < 1) {
return true;
}