mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-11 02:37:36 +01:00
CraftComplexPart should return getParent()'s status in isValid
By: Nathan Wolf <nathan@elmakers.com>
This commit is contained in:
parent
0c230e9353
commit
637ea51428
@ -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…
Reference in New Issue
Block a user