mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-13 19:52:05 +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
|
||||
public void E() {
|
||||
super.E();
|
||||
if (npc != null) {
|
||||
if (npc == null) {
|
||||
super.E();
|
||||
}
|
||||
else {
|
||||
NMS.updateAI(this);
|
||||
npc.update();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user