Update AI for Giants
This commit is contained in:
parent
e4f845d8bd
commit
756d0676d0
|
@ -39,7 +39,6 @@ public class GiantController extends MobEntityController {
|
|||
this.npc = (CitizensNPC) npc;
|
||||
if (npc != null) {
|
||||
NMS.clearGoals(goalSelector, targetSelector);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -52,8 +51,10 @@ public class GiantController extends MobEntityController {
|
|||
public void bq() {
|
||||
if (npc == null) {
|
||||
super.bq();
|
||||
} else
|
||||
} else {
|
||||
NMS.updateAI(this);
|
||||
npc.update();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue