mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 06:30:46 +01:00
Implement Sheep.get/setSheared.
By: Celtic Minstrel <celtic.minstrel.ca@>
This commit is contained in:
parent
4e68f7523b
commit
f9d32acfe5
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue