mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Changed Entity.isDead to be aware of health for living entities
This commit is contained in:
1 parent
620f101487
commit
20a0b0a9be
1 file changed
+1
-1
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user