mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-23 19:16:34 +01:00
Update AI for Giants
This commit is contained in:
parent
d5c4ae337d
commit
de74b5c848
@ -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
Block a user