SPIGOT-7850: Add API for Bogged shear state

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2024-07-27 10:28:37 +10:00
parent d2745c6491
commit 57bb408920

View file

@ -24,4 +24,14 @@ public class CraftBogged extends CraftAbstractSkeleton implements Bogged {
public Skeleton.SkeletonType getSkeletonType() {
return Skeleton.SkeletonType.BOGGED;
}
@Override
public boolean isSheared() {
return getHandle().isSheared();
}
@Override
public void setSheared(boolean flag) {
getHandle().setSheared(flag);
}
}