Implement lookToIncrement setting
This commit is contained in:
parent
b8f3788f32
commit
7a7bf60d6d
@ -123,7 +123,7 @@ public final class LookBehavior extends Behavior implements ILookBehavior {
|
||||
|
||||
float dy = desiredYaw - ctx.player().rotationYaw;
|
||||
float dp = desiredPitch - ctx.player().rotationPitch;
|
||||
float inc = 6; // TODO: make this a setting
|
||||
float inc = Baritone.settings().lookToIncrement.value;
|
||||
|
||||
if (dy > -inc && dy < inc) {
|
||||
ctx.player().rotationYaw += dy;
|
||||
|
Loading…
Reference in New Issue
Block a user