Add isRemoved() and toString() to Entity
This commit is contained in:
parent
f366c4b808
commit
97e79b93ea
@ -34,6 +34,10 @@ public final class Entity {
|
||||
return active;
|
||||
}
|
||||
|
||||
public boolean isRemoved() {
|
||||
return removed;
|
||||
}
|
||||
|
||||
public void activate() {
|
||||
active = true;
|
||||
refresh();
|
||||
@ -106,4 +110,8 @@ public final class Entity {
|
||||
this.uniqueId = nextUniqueId++;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "Entity[id=" + id + ", uniqueId=" + uniqueId + "]";
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user