mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2024-09-22 00:16:30 +00:00
Wolf is now tamed if you set the collar color
This commit is contained in:
parent
f63e6376ff
commit
ebefbfe2c7
|
@ -43,6 +43,9 @@ public class WolfWatcher extends AgeableWatcher {
|
|||
}
|
||||
|
||||
public void setCollarColor(AnimalColor newColor) {
|
||||
if (!isTamed()) {
|
||||
setTamed(true);
|
||||
}
|
||||
if (newColor != getCollarColor()) {
|
||||
setValue(20, (byte) newColor.getId());
|
||||
sendData(20);
|
||||
|
|
Loading…
Reference in a new issue