mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-21 06:28:56 +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() {
|
public boolean isDead() {
|
||||||
return entity.dead;
|
return !entity.aj();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Entity getHandle() {
|
public Entity getHandle() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue