SkeletonHorse Additions

This commit is contained in:
BillyGalbreath
2018-07-27 22:36:31 -05:00
parent c0a3a0d12c
commit da011362dc
3 changed files with 60 additions and 5 deletions

View File

@@ -44,4 +44,16 @@ public class CraftSkeletonHorse extends CraftAbstractHorse implements SkeletonHo
public void setTrapTime(int trapTime) {
this.getHandle().trapTime = trapTime;
}
// Paper start - replaced by above methods
@Override
public boolean isTrap() {
return getHandle().isTrap();
}
@Override
public void setTrap(boolean trap) {
getHandle().setTrap(trap);
}
// Paper end
}