From 7d144dd07600b7aee9b48c88b22ded1ae94f545b Mon Sep 17 00:00:00 2001 From: Larson Date: Tue, 25 May 2021 14:33:13 -0500 Subject: [PATCH] fix decimal Co-authored-by: scorbett123 <50634068+scorbett123@users.noreply.github.com> --- src/main/java/baritone/utils/PathRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/utils/PathRenderer.java b/src/main/java/baritone/utils/PathRenderer.java index e403e3fe..0985e4d9 100644 --- a/src/main/java/baritone/utils/PathRenderer.java +++ b/src/main/java/baritone/utils/PathRenderer.java @@ -210,7 +210,7 @@ public final class PathRenderer implements IRenderer { double y, y1, y2; if (settings.renderGoalAsBox.value) { // y = 1 causes rendering issues when the player is at the same y as the top of a block for some reason - y = .999F; + y = 0.999F; } else { y = MathHelper.cos((float) (((float) ((System.nanoTime() / 100000L) % 20000L)) / 20000F * Math.PI * 2));