CraftComplexPart should return getParent()'s status in isValid

By: Nathan Wolf <nathan@elmakers.com>
This commit is contained in:
CraftBukkit/Spigot 2016-03-22 14:19:59 -07:00
parent 0c230e9353
commit 637ea51428

View File

@ -27,6 +27,11 @@ public class CraftComplexPart extends CraftEntity implements ComplexEntityPart {
return getParent().getLastDamageCause();
}
@Override
public boolean isValid() {
return getParent().isValid();
}
@Override
public EntityComplexPart getHandle() {
return (EntityComplexPart) entity;