From dda4928693e77626e69e4767c599a0af5cb2f085 Mon Sep 17 00:00:00 2001 From: Tabbs Date: Tue, 25 May 2021 14:43:32 -0500 Subject: [PATCH] change name to renderGoalAnimated --- src/api/java/baritone/api/Settings.java | 2 +- src/main/java/baritone/utils/PathRenderer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/java/baritone/api/Settings.java b/src/api/java/baritone/api/Settings.java index bd27f3253..de40d03f7 100644 --- a/src/api/java/baritone/api/Settings.java +++ b/src/api/java/baritone/api/Settings.java @@ -598,7 +598,7 @@ public final class Settings { /** * Render the goal as just a box instead of sick animated thingy */ - public final Setting renderGoalAsBox = new Setting<>(false); + public final Setting renderGoalAnimated = new Setting<>(true); /** * Render selection boxes diff --git a/src/main/java/baritone/utils/PathRenderer.java b/src/main/java/baritone/utils/PathRenderer.java index e403e3fe1..0785134ea 100644 --- a/src/main/java/baritone/utils/PathRenderer.java +++ b/src/main/java/baritone/utils/PathRenderer.java @@ -208,7 +208,7 @@ public final class PathRenderer implements IRenderer { double minZ, maxZ; double minY, maxY; double y, y1, y2; - if (settings.renderGoalAsBox.value) { + if (!settings.renderGoalAnimated.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; }