remove missed unlimited horizontal quality reference

This commit is contained in:
James Seibel
2024-04-06 18:18:57 -05:00
parent 8846ca5b5e
commit 2d323cef39
@@ -368,13 +368,6 @@ public class LodQuadTree extends QuadTree<LodRenderSection> implements AutoClose
public byte calculateExpectedDetailLevel(DhBlockPos2D playerPos, DhSectionPos sectionPos) { return this.getDetailLevelFromDistance(playerPos.dist(sectionPos.getCenterBlockPosX(), sectionPos.getCenterBlockPosZ())); }
private byte getDetailLevelFromDistance(double distance)
{
// special case, never drop the quality
if (Config.Client.Advanced.Graphics.Quality.horizontalQuality.get() == EDhApiHorizontalQuality.UNLIMITED)
{
return this.maxRenderDetailLevel;
}
double maxDetailDistance = this.getDrawDistanceFromDetail(Byte.MAX_VALUE - 1);
if (distance > maxDetailDistance)
{