diff --git a/src/me/libraryaddict/disguise/disguisetypes/watchers/BoatWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/watchers/BoatWatcher.java index e5d1ea14..6bf47dce 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/watchers/BoatWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/watchers/BoatWatcher.java @@ -10,7 +10,7 @@ public class BoatWatcher extends FlagWatcher { } public int getDamage() { - return Math.round(getValue(19, 40F)); + return (Integer) getValue(19, 40F); } public int getHealth() { diff --git a/src/me/libraryaddict/disguise/disguisetypes/watchers/HorseWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/watchers/HorseWatcher.java index 6dc9c2ee..53b7738d 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/watchers/HorseWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/watchers/HorseWatcher.java @@ -77,7 +77,7 @@ public class HorseWatcher extends AgeableWatcher { } private boolean isTrue(int i) { - return (getValue(16, (byte) 0) & i) != 0; + return ((Integer) getValue(16, (byte) 0) & i) != 0; } public void setCanBreed(boolean breed) { diff --git a/src/me/libraryaddict/disguise/disguisetypes/watchers/ZombieWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/watchers/ZombieWatcher.java index 510cfb8c..33ddf2bd 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/watchers/ZombieWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/watchers/ZombieWatcher.java @@ -34,7 +34,7 @@ public class ZombieWatcher extends LivingWatcher { } public boolean isShaking() { - return getValue(14, (byte) 0) == 1; + return (Byte) getValue(14, (byte) 0) == 1; } public void setBaby(boolean baby) {