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