mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 09:21:57 +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() {
|
||||
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