1
0
mirror of https://github.com/cabaletta/baritone synced 2024-12-17 20:55:09 +00:00

Clamp pitch to normal range

This commit is contained in:
Brady 2023-06-24 21:48:44 -07:00
parent 24b0bd2edf
commit 15f4253b3d
No known key found for this signature in database
GPG Key ID: 73A788379A197567

View File

@ -202,7 +202,7 @@ public final class LookBehavior extends Behavior implements ILookBehavior {
return new Rotation(
this.calculateMouseMove(prev.getYaw(), desiredYaw),
this.calculateMouseMove(prev.getPitch(), desiredPitch)
);
).clamp();
}
@Override