mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-16 15:38:14 +01: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 New Issue
Block a user