mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 22:29:50 +00:00
More fixes for flight pathing
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user