mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 18:50:51 +01:00
SPIGOT-7850: Add API for Bogged shear state
By: md_5 <git@md-5.net>
This commit is contained in:
parent
d2745c6491
commit
57bb408920
1 changed files with 10 additions and 0 deletions
|
@ -24,4 +24,14 @@ public class CraftBogged extends CraftAbstractSkeleton implements Bogged {
|
||||||
public Skeleton.SkeletonType getSkeletonType() {
|
public Skeleton.SkeletonType getSkeletonType() {
|
||||||
return Skeleton.SkeletonType.BOGGED;
|
return Skeleton.SkeletonType.BOGGED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isSheared() {
|
||||||
|
return getHandle().isSheared();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setSheared(boolean flag) {
|
||||||
|
getHandle().setSheared(flag);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue