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

@@ -54,6 +54,9 @@ public class FlyingMoveHelper extends EntityMoveHelper{
if (heightOffGround < this.entity.ai.flyHeightLimit || !this.entity.ai.hasFlyLimit) {
this.entity.motionY = verticalSpeed * (d1 / d5);
if (this.entity.motionY > 0) {
this.entity.motionY += 0.1D;
}
}
this.entity.velocityChanged = true;