diff --git a/src/api/java/baritone/api/utils/Rotation.java b/src/api/java/baritone/api/utils/Rotation.java index 28afbf65..7f93547b 100644 --- a/src/api/java/baritone/api/utils/Rotation.java +++ b/src/api/java/baritone/api/utils/Rotation.java @@ -142,7 +142,7 @@ public class Rotation { if (newYaw < -180F) { newYaw += 360F; } - if (newYaw >= 180F) { + if (newYaw > 180F) { newYaw -= 360F; } return newYaw;