From 5d98ffc205fedf86dadacecb24cf6d5d969dc221 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 5 Mar 2021 18:50:35 +1300 Subject: [PATCH] Change wolf setAngry to use setAnger --- .../disguise/disguisetypes/watchers/WolfWatcher.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/libraryaddict/disguise/disguisetypes/watchers/WolfWatcher.java b/src/main/java/me/libraryaddict/disguise/disguisetypes/watchers/WolfWatcher.java index c5b9e5c7..75e27e51 100644 --- a/src/main/java/me/libraryaddict/disguise/disguisetypes/watchers/WolfWatcher.java +++ b/src/main/java/me/libraryaddict/disguise/disguisetypes/watchers/WolfWatcher.java @@ -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() {