mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-30 14:43:54 +01:00
Merge pull request #138 from mcmonkey4eva/patch-1
Disable bat AI, fixes #137
This commit is contained in:
commit
7aeaa7becc
@ -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