Commenting out Fly Changes for Build

This commit is contained in:
KAMKEEL committed 2021-06-13 16:24:15 -04:00
1 parent f9bdc66956
commit 65eeca72cf
2 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ public class DataAI {
public int tacticalRadius = 8;
// Fly Change
public int movementType = 0;
// public int movementType = 0;
public EnumAnimation animationType = EnumAnimation.NONE;
public EnumStandingType standingType = EnumStandingType.RotateBody;
@@ -163,8 +163,8 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
public boolean updateAI = false;
// Fly Change
protected EntityMoveHelper moveHelper;
protected PathNavigate navigator;
// protected EntityMoveHelper moveHelper;
// protected PathNavigate navigator;
public EntityNPCInterface(World world) {
super(world);
@@ -603,15 +603,15 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
this.targetTasks.addTask(4, new EntityAIOwnerHurtTarget(this));
if(canFly()){
this.moveHelper = new FlyingMoveHelper(this);
this.navigator = new PathNavigateFlying(this, worldObj);
}
else{
this.moveHelper = new EntityMoveHelper(this);
this.navigator = new PathNavigateGround(this, worldObj);
// if(canFly()){
// this.moveHelper = new FlyingMoveHelper(this);
// this.navigator = new PathNavigateFlying(this, worldObj);
// }
// else{
// this.moveHelper = new EntityMoveHelper(this);
// this.navigator = new PathNavigateGround(this, worldObj);
this.tasks.addTask(0, new EntityAIWaterNav(this));
}
// }
// this.tasks.addTask(0, new EntityAIWaterNav(this));
this.taskCount = 1;
this.doorInteractType();