From 29bae6b67a827d2d26636491932452fb9fd81ddd Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 13 Jul 2014 07:27:07 +1200 Subject: [PATCH] Fix it casting to integer when its a byte --- .../disguise/disguisetypes/watchers/SlimeWatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/disguisetypes/watchers/SlimeWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/watchers/SlimeWatcher.java index ad620764..a49c5ba9 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/watchers/SlimeWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/watchers/SlimeWatcher.java @@ -12,7 +12,7 @@ public class SlimeWatcher extends LivingWatcher { } public int getSize() { - return (Integer) getValue(16, (byte) 1); + return (Byte) getValue(16, (byte) 1); } public void setSize(int size) {