mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-28 03:57:35 +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
|
||||
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