fix weird rendering issue
This commit is contained in:
parent
3fc36cf798
commit
73e0700ea3
@ -209,7 +209,8 @@ public final class PathRenderer implements IRenderer {
|
|||||||
double minY, maxY;
|
double minY, maxY;
|
||||||
double y, y1, y2;
|
double y, y1, y2;
|
||||||
if (settings.renderGoalAsBox.value) {
|
if (settings.renderGoalAsBox.value) {
|
||||||
y = 1;
|
// y = 1 causes rendering issues when the player is at the same y as the top of a block for some reason
|
||||||
|
y = .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…
x
Reference in New Issue
Block a user