Skip to content

Commit

Permalink
SPIGOT-7850: Add API for Bogged shear state
Browse files Browse the repository at this point in the history
  • Loading branch information
md-5 committed Jul 27, 2024
1 parent fccf524 commit 682a678
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/java/org/bukkit/craftbukkit/entity/CraftBogged.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,14 @@ public String toString() {
public Skeleton.SkeletonType getSkeletonType() {
return Skeleton.SkeletonType.BOGGED;
}

@Override
public boolean isSheared() {
return getHandle().isSheared();
}

@Override
public void setSheared(boolean flag) {
getHandle().setSheared(flag);
}
}

0 comments on commit 682a678

Please sign in to comment.