comments and regactor LodDimension

This commit is contained in:
James Seibel
2021-09-27 07:59:55 -05:00
parent a76436b73d
commit 85a0110af6
6 changed files with 355 additions and 342 deletions
@@ -238,10 +238,10 @@ public class LodDimensionFileHandler
{
for (int j = 0; j < lodDimension.getWidth(); j++)
{
if (lodDimension.isRegionToRegen(i,j) && lodDimension.getRegionByArrayIndex(i,j) != null)
if (lodDimension.doesRegionNeedBufferRegen(i,j) && lodDimension.getRegionByArrayIndex(i,j) != null)
{
saveRegionToFile(lodDimension.getRegionByArrayIndex(i,j));
lodDimension.setRegenByArrayIndex(i, j,false);
lodDimension.setRegenRegionBufferByArrayIndex(i, j,false);
}
}
}