mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-31 20:33:52 -07:00
Implement Sheep.get/setSheared.
By: Celtic Minstrel <celtic.minstrel.ca@>
This commit is contained in:
@@ -29,4 +29,12 @@ public class CraftSheep extends CraftAnimals implements Sheep {
|
|||||||
getHandle().a_(color.getData());
|
getHandle().a_(color.getData());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isSheared() {
|
||||||
|
return getHandle().j_();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSheared(boolean flag) {
|
||||||
|
getHandle().a(flag);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user