EntityNPCFlying:

-Re-implemented flying gravity (woops)
This commit is contained in:
Luis C.M committed 2022-11-05 04:10:00 -05:00
1 parent 35533de73c
commit 9c82e60a6e
1 file changed
+3 -2
@@ -48,8 +48,9 @@ public abstract class EntityNPCFlying extends EntityNPCInterface {
super.moveEntityWithHeading(p_70612_1_, p_70612_2_);
this.motionY = d3;
if(this.getNavigator().noPath())
this.motionY = 0.0D;
if (this.getNavigator().noPath()) {
this.motionY = -Math.abs(this.ai.flyGravity);
}
this.velocityChanged = true;
}