Change wolf setAngry to use setAnger
This commit is contained in:
parent
914a17ba20
commit
5d98ffc205
@ -45,11 +45,13 @@ public class WolfWatcher extends TameableWatcher {
|
||||
}
|
||||
|
||||
public boolean isAngry() {
|
||||
return isTameableFlag(2);
|
||||
return getAnger() > 0;
|
||||
//return isTameableFlag(2);
|
||||
}
|
||||
|
||||
public void setAngry(boolean angry) {
|
||||
setTameableFlag(2, angry);
|
||||
setAnger(angry ? 1 : 0);
|
||||
//setTameableFlag(2, angry);
|
||||
}
|
||||
|
||||
public int getAnger() {
|
||||
|
Loading…
Reference in New Issue
Block a user