Fixes a error when disguising as a horse with options
This commit is contained in:
parent
c732b373b7
commit
9f35d646ba
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user