Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-19 21:10:10 +01:00
Implement Sheep.get/setSheared.
Dieser Commit ist enthalten in:
Ursprung
9f30c9f8f4
Commit
47497aa3f9
@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren