Implement Sheep.get/setSheared.

This commit is contained in:
Celtic Minstrel 2011-03-18 17:13:54 -04:00 committed by Erik Broes
parent 9f30c9f8f4
commit 47497aa3f9

View file

@ -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);
}
}