fix decimal

Co-authored-by: scorbett123 <50634068+scorbett123@users.noreply.github.com>
This commit is contained in:
Larson 2021-05-25 14:33:13 -05:00 committed by GitHub
parent 73e0700ea3
commit 7d144dd076
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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