Added DetailUtil and it's use in the buffer builder +

small fixes
This commit is contained in:
Leonardo
2021-08-22 11:27:40 +02:00
parent e2a983e4ac
commit 1a7655e752
8 changed files with 245 additions and 995 deletions
@@ -321,7 +321,7 @@ public class LodDimension
region = new LodRegion((byte) 0, regionPos);
addOrOverwriteRegion(region);
}
boolean nodeAdded = region.setData(levelPos, lodDataPoint, (byte) generationMode.complexity, true);
boolean nodeAdded = region.setData(levelPos, lodDataPoint, generationMode.complexity, true);
// only save valid LODs to disk
if (!dontSave && fileHandler != null)
{