mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-14 20:59:10 +00:00
Change wolf setAngry to use setAnger
This commit is contained in:
parent
914a17ba20
commit
5d98ffc205
1 changed files with 4 additions and 2 deletions
|
@ -45,11 +45,13 @@ public class WolfWatcher extends TameableWatcher {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isAngry() {
|
public boolean isAngry() {
|
||||||
return isTameableFlag(2);
|
return getAnger() > 0;
|
||||||
|
//return isTameableFlag(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAngry(boolean angry) {
|
public void setAngry(boolean angry) {
|
||||||
setTameableFlag(2, angry);
|
setAnger(angry ? 1 : 0);
|
||||||
|
//setTameableFlag(2, angry);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getAnger() {
|
public int getAnger() {
|
||||||
|
|
Loading…
Reference in a new issue