mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
CraftComplexPart should return getParent()'s status in isValid
This commit is contained in:
parent
9a072ddc1f
commit
ace06bd9fd
1 changed files with 5 additions and 0 deletions
|
@ -27,6 +27,11 @@ public class CraftComplexPart extends CraftEntity implements ComplexEntityPart {
|
||||||
return getParent().getLastDamageCause();
|
return getParent().getLastDamageCause();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isValid() {
|
||||||
|
return getParent().isValid();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public EntityComplexPart getHandle() {
|
public EntityComplexPart getHandle() {
|
||||||
return (EntityComplexPart) entity;
|
return (EntityComplexPart) entity;
|
||||||
|
|
Loading…
Add table
Reference in a new issue