mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 09:17:36 +01:00
Entity.isDead returns true if the entity has been marked for removal
By: afforess <afforess@gmail.com>
This commit is contained in:
parent
22b860367d
commit
cd5056a7f6
@ -103,6 +103,11 @@ public interface Entity {
|
|||||||
*/
|
*/
|
||||||
public void remove();
|
public void remove();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns true if this entity has been marked for removal.
|
||||||
|
*/
|
||||||
|
public boolean isDead();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the {@link Server} that contains this Entity
|
* Gets the {@link Server} that contains this Entity
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user