Fix it casting to integer when its a byte

This commit is contained in:
libraryaddict 2014-07-13 07:27:07 +12:00
parent 75915b2f61
commit 29bae6b67a

View File

@ -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) {