From 351234591f93406a2d6fb15465df752678f677c3 Mon Sep 17 00:00:00 2001 From: NavidK0 Date: Mon, 21 Mar 2016 18:40:31 -0400 Subject: [PATCH] Fixed Horse options --- .../disguise/disguisetypes/watchers/HorseWatcher.java | 4 ++-- src/main/resources/plugin.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/me/libraryaddict/disguise/disguisetypes/watchers/HorseWatcher.java b/src/main/java/me/libraryaddict/disguise/disguisetypes/watchers/HorseWatcher.java index 2991b1c3..1d7c8166 100644 --- a/src/main/java/me/libraryaddict/disguise/disguisetypes/watchers/HorseWatcher.java +++ b/src/main/java/me/libraryaddict/disguise/disguisetypes/watchers/HorseWatcher.java @@ -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); } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 850c9c3c..330bdfdb 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,7 +1,7 @@ name: LibsDisguises main: me.libraryaddict.disguise.LibsDisguises description: A disguise plugin with various disguises. -version: 9.0.1 +version: 9.0.2 author: libraryaddict authors: [Byteflux, Navid K.] softdepend: [ProtocolLib]