mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
Changed Entity.isDead to be aware of health for living entities
This commit is contained in:
parent
620f101487
commit
20a0b0a9be
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…
Add table
Reference in a new issue