Fix isAgressive in enderman watcher

This commit is contained in:
libraryaddict 2014-07-12 07:06:23 +12:00
parent 3d44760b1b
commit 5703d5995d

View File

@ -16,7 +16,7 @@ public class EndermanWatcher extends LivingWatcher {
}
public boolean isAgressive() {
return (Integer) getValue(18, (byte) 0) == 1;
return (Byte) getValue(18, (byte) 0) == 1;
}
public void setAgressive(boolean isAgressive) {