change name to renderGoalAnimated

This commit is contained in:
Tabbs 2021-05-25 14:43:32 -05:00
parent 73e0700ea3
commit dda4928693
2 changed files with 2 additions and 2 deletions

View File

@ -598,7 +598,7 @@ public final class Settings {
/**
* Render the goal as just a box instead of sick animated thingy
*/
public final Setting<Boolean> renderGoalAsBox = new Setting<>(false);
public final Setting<Boolean> renderGoalAnimated = new Setting<>(true);
/**
* Render selection boxes

View File

@ -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;
}