Fix isAgressive in enderman watcher
This commit is contained in:
parent
3d44760b1b
commit
5703d5995d
@ -16,7 +16,7 @@ public class EndermanWatcher extends LivingWatcher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isAgressive() {
|
public boolean isAgressive() {
|
||||||
return (Integer) getValue(18, (byte) 0) == 1;
|
return (Byte) getValue(18, (byte) 0) == 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAgressive(boolean isAgressive) {
|
public void setAgressive(boolean isAgressive) {
|
||||||
|
Loading…
Reference in New Issue
Block a user