Tweaked bukkit implementation of #isDead detection

feat/data-edit-commands
William 2 years ago
parent c05f165278
commit dd39482ed1

@ -618,7 +618,7 @@ public class BukkitPlayer extends OnlineUser {
@Override @Override
public boolean isDead() { public boolean isDead() {
return player.getHealth() < 1; return player.isDead() || player.getHealth() <= 0;
} }
@Override @Override

Loading…
Cancel
Save