mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-13 11:04:42 +02:00
Removed isNPCPlayer, isNPCEntity is identical
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user