From 9f35d646ba3e3a9f310f74836d7e3a13fd8ec5af Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sat, 11 Jan 2014 15:13:51 +1300 Subject: [PATCH] Fixes a error when disguising as a horse with options --- .../disguise/disguisetypes/watchers/HorseWatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/disguisetypes/watchers/HorseWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/watchers/HorseWatcher.java index 49e57cc4..e4a5fb9b 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/watchers/HorseWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/watchers/HorseWatcher.java @@ -88,7 +88,7 @@ public class HorseWatcher extends AgeableWatcher { } private void setFlag(int i, boolean flag) { - int j = (Integer) getValue(16, (byte) 0); + int j = (Byte) getValue(16, (byte) 0); if (flag) { setValue(16, j | i); } else {