mirror of https://github.com/cabaletta/baritone
fix decimal
Co-authored-by: scorbett123 <50634068+scorbett123@users.noreply.github.com>
This commit is contained in:
parent
73e0700ea3
commit
7d144dd076
|
@ -210,7 +210,7 @@ public final class PathRenderer implements IRenderer {
|
||||||
double y, y1, y2;
|
double y, y1, y2;
|
||||||
if (settings.renderGoalAsBox.value) {
|
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 = 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 {
|
else {
|
||||||
y = MathHelper.cos((float) (((float) ((System.nanoTime() / 100000L) % 20000L)) / 20000F * Math.PI * 2));
|
y = MathHelper.cos((float) (((float) ((System.nanoTime() / 100000L) % 20000L)) / 20000F * Math.PI * 2));
|
||||||
|
|
Loading…
Reference in New Issue