More fixes for flight pathing

This commit is contained in:
Luis C.M committed 2022-05-15 01:21:06 -05:00
1 parent 44459a23a7
commit 1f79b52176
4 files changed
+6 -6

No files matched your search

@@ -48,7 +48,7 @@ public abstract class EntityNPCFlying extends EntityNPCInterface {
}
}
if(heightOffGround > this.ai.flyHeightLimit && this.ai.hasFlyLimit){
if (heightOffGround > this.ai.flyHeightLimit && this.ai.hasFlyLimit) {
super.moveEntityWithHeading(p_70612_1_,p_70612_2_);
return;
}
@@ -57,9 +57,6 @@ public abstract class EntityNPCFlying extends EntityNPCInterface {
super.moveEntityWithHeading(p_70612_1_, p_70612_2_);
this.motionY = d3;
this.fallDistance = 0.0F;
this.velocityChanged = true;
if(this.getNavigator().noPath())
this.motionY = 0.0D;
}