mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 03:25:15 +01:00
CraftComplexPart should return getParent()'s status in isValid
This commit is contained in:
parent
9a072ddc1f
commit
ace06bd9fd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user