Refactoring fixes

This commit is contained in:
James Seibel
2021-08-07 13:30:03 -05:00
parent f6d92021ed
commit 97a773176d
3 changed files with 7 additions and 5 deletions
@@ -828,7 +828,7 @@ public class LodNodeRenderer
{
for(int z = centerChunk.z - chunkRenderDist; z < centerChunk.z + chunkRenderDist; z++)
{
LodQuadTreeNode lod = lodDim.getLodFromCoordinates(x, z, 4);
LodQuadTreeNode lod = lodDim.getLodFromCoordinates(new ChunkPos(x, z), 4);
if (lod != null)
{
short lodHighestPoint = lod.lodDataPoint.height;