Fixed Horse options

This commit is contained in:
NavidK0
2016-03-21 18:40:31 -04:00
parent effb4058db
commit 351234591f
2 changed files with 3 additions and 3 deletions

View File

@@ -118,9 +118,9 @@ public class HorseWatcher extends AgeableWatcher {
private void setHorseFlag(int i, boolean flag) {
byte j = (byte) getValue(12, (byte) 0);
if (flag) {
setValue(12, j | i);
setValue(12, (byte) (j | i));
} else {
setValue(12, j & ~i);
setValue(12, (byte) (j & ~i));
}
sendData(12);
}