mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 21:59:05 +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
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user