mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 03:35:51 -07:00
Changed Entity.isDead to be aware of health for living entities
This commit is contained in:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user