minor FullDataToRenderDataTransformer refactor

This commit is contained in:
James Seibel
2023-09-17 16:11:17 -05:00
parent 064853c6ff
commit f41552b760
@@ -184,9 +184,11 @@ public class FullDataToRenderDataTransformer
{
int baseX = pos.getMinCornerLodPos().getCornerBlockPos().x;
int baseZ = pos.getMinCornerLodPos().getCornerBlockPos().z;
for (int x = 0; x < pos.getWidthCountForLowerDetailedSection(dataDetail); x++)
int width = pos.getWidthCountForLowerDetailedSection(dataDetail);
for (int x = 0; x < width; x++)
{
for (int z = 0; z < pos.getWidthCountForLowerDetailedSection(dataDetail); z++)
for (int z = 0; z < width; z++)
{
throwIfThreadInterrupted();