Fix it casting to integer when its a byte
This commit is contained in:
parent
75915b2f61
commit
29bae6b67a
@ -12,7 +12,7 @@ public class SlimeWatcher extends LivingWatcher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int getSize() {
|
public int getSize() {
|
||||||
return (Integer) getValue(16, (byte) 1);
|
return (Byte) getValue(16, (byte) 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setSize(int size) {
|
public void setSize(int size) {
|
||||||
|
Loading…
Reference in New Issue
Block a user