From 7a7bf60d6d71149cb4cc1fbf933e9f463e745ccd Mon Sep 17 00:00:00 2001 From: 0xf8 <0xf8.dev@proton.me> Date: Thu, 8 Jun 2023 17:02:18 -0400 Subject: [PATCH] Implement lookToIncrement setting --- src/main/java/baritone/behavior/LookBehavior.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/behavior/LookBehavior.java b/src/main/java/baritone/behavior/LookBehavior.java index 7799b051..6fc57140 100644 --- a/src/main/java/baritone/behavior/LookBehavior.java +++ b/src/main/java/baritone/behavior/LookBehavior.java @@ -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;