CraftComplexPart should return getParent()'s status in isValid

This commit is contained in:
Nathan Wolf authored and md_5 committed 2016-03-23 22:06:50 +11:00
1 parent 9a072ddc1f
commit ace06bd9fd
1 file changed
+5
@@ -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;