Merge pull request #138 from mcmonkey4eva/patch-1

Disable bat AI, fixes #137
This commit is contained in:
fullwall 2014-12-06 13:35:50 +08:00
commit 7aeaa7becc

View File

@ -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();
}
}