mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-04 01:39:54 +01:00
Disable bat AI, fixes #137
Bat AI wasn't overridden properly... now it is.
This commit is contained in:
parent
35dccc8243
commit
32042d10e8
@ -107,8 +107,11 @@ public class BatController extends MobEntityController {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void E() {
|
public void E() {
|
||||||
|
if (npc == null) {
|
||||||
super.E();
|
super.E();
|
||||||
if (npc != null) {
|
}
|
||||||
|
else {
|
||||||
|
NMS.updateAI(this);
|
||||||
npc.update();
|
npc.update();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user