Refactor and comment LodWorld

This commit is contained in:
James Seibel
2021-09-27 21:59:51 -05:00
parent d222854717
commit 7c5713fac2
2 changed files with 24 additions and 11 deletions
@@ -238,6 +238,7 @@ public class LodDimensionFileHandler
{
for (int j = 0; j < lodDimension.getWidth(); j++)
{
// TODO shouldn't this use lodDimension.isRegionDirty?
if (lodDimension.doesRegionNeedBufferRegen(i,j) && lodDimension.getRegionByArrayIndex(i,j) != null)
{
saveRegionToFile(lodDimension.getRegionByArrayIndex(i,j));