Fixes a error when disguising as a horse with options

This commit is contained in:
libraryaddict 2014-01-11 15:13:51 +13:00
parent c732b373b7
commit 9f35d646ba

View File

@ -88,7 +88,7 @@ public class HorseWatcher extends AgeableWatcher {
} }
private void setFlag(int i, boolean flag) { private void setFlag(int i, boolean flag) {
int j = (Integer) getValue(16, (byte) 0); int j = (Byte) getValue(16, (byte) 0);
if (flag) { if (flag) {
setValue(16, j | i); setValue(16, j | i);
} else { } else {