summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/entity/CraftSheep.java8
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);
+ }
+
}