mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Initialize GG AI in the right place
This commit is contained in:
1 file changed
+6
-2
@@ -148,8 +148,6 @@ public class EntityDoppleganger extends EntityLiving implements IBotaniaBoss {
|
||||
public EntityDoppleganger(World world) {
|
||||
super(world);
|
||||
setSize(0.6F, 1.8F);
|
||||
tasks.addTask(0, new EntityAISwimming(this));
|
||||
tasks.addTask(1, new EntityAIWatchClosest(this, EntityPlayer.class, ARENA_RANGE * 1.5F));
|
||||
isImmuneToFire = true;
|
||||
experienceValue = 825;
|
||||
Botania.proxy.addBoss(this);
|
||||
@@ -289,6 +287,12 @@ public class EntityDoppleganger extends EntityLiving implements IBotaniaBoss {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void initEntityAI() {
|
||||
tasks.addTask(0, new EntityAISwimming(this));
|
||||
tasks.addTask(1, new EntityAIWatchClosest(this, EntityPlayer.class, ARENA_RANGE * 1.5F));
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void entityInit() {
|
||||
super.entityInit();
|
||||
|
||||
Reference in new issue
Block a user