mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 16:37:45 +00:00
Increased the angle limit while pathing for flying NPCs from 15 to 20 degrees
This commit is contained in:
1 parent
8033b8ba19
commit
1cd3ff31b6
1 file changed
+1
-1
@@ -59,7 +59,7 @@ public class FlyingMoveHelper extends EntityMoveHelper{
|
||||
this.entity.velocityChanged = true;
|
||||
}
|
||||
|
||||
this.entity.rotationYaw = this.limitAngle(this.entity.rotationYaw,(float) ((Math.atan2(-d0, -d2) + Math.PI) * -(180F / Math.PI)),15.0F);
|
||||
this.entity.rotationYaw = this.limitAngle(this.entity.rotationYaw,(float) ((Math.atan2(-d0, -d2) + Math.PI) * -(180F / Math.PI)),20.0F);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user