mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 17:52:28 +01:00
Changed Entity.isDead to be aware of health for living entities
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
aa9a64c1d7
commit
474234b6be
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
|
|||
}
|
||||
|
||||
public boolean isDead() {
|
||||
return entity.dead;
|
||||
return !entity.aj();
|
||||
}
|
||||
|
||||
public Entity getHandle() {
|
||||
|
|
Loading…
Reference in a new issue