mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 18:32:17 +00:00
Fixed NPCs bobbing in the air when flying.
This commit is contained in:
1 parent
29db4bfe33
commit
d37e986006
2 files changed
+4
-1
No files matched your search
@@ -36,7 +36,7 @@ public abstract class EntityNPCFlying extends EntityNPCInterface {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!this.onGround && !this.getMoveHelper().isUpdating())
|
||||
if (!this.onGround)
|
||||
{
|
||||
this.motionY *= this.ai.flyGravity;
|
||||
this.velocityChanged = true;
|
||||
|
||||
Reference in new issue
Block a user