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
@@ -179,7 +179,7 @@ public class LodNodeBufferBuilder
double yOffset = 1; // TODO this offset should be done in the LOD generation
double zOffset = (LodQuadTreeNode.CHUNK_WIDTH * j) + startZ + 8;
LodQuadTreeNode lod = lodDim.getLodFromCoordinates(chunkX, chunkZ, LodQuadTreeNode.CHUNK_LEVEL);
LodQuadTreeNode lod = lodDim.getLodFromCoordinates(new ChunkPos(chunkX, chunkZ), LodQuadTreeNode.CHUNK_LEVEL);
if (lod == null || lod.getComplexity() == DistanceGenerationMode.NONE)
{