diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftSheep.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftSheep.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftSheep.java index fa23cf30..0457e125 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftSheep.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftSheep.java @@ -29,4 +29,12 @@ public class CraftSheep extends CraftAnimals implements Sheep { getHandle().a_(color.getData()); } + public boolean isSheared() { + return getHandle().j_(); + } + + public void setSheared(boolean flag) { + getHandle().a(flag); + } + } |