CraftComplexPart should return getParent()'s status in isValid

This commit is contained in:
Nathan Wolf 2016-03-22 14:19:59 -07:00 committed by md_5
parent 9a072ddc1f
commit ace06bd9fd

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;