Fixlighting now also calculates heightmaps

Fixes #386 and #438 seems fixed, but that might be something else that fixed?
This commit is contained in:
dordsor21
2020-09-14 14:19:23 +01:00
parent 0685881f64
commit d6c9a887ac
24 changed files with 295 additions and 41 deletions

View File

@ -373,7 +373,7 @@ public class FaweAPI {
}
}
NMSRelighter relighter = new NMSRelighter(queue);
NMSRelighter relighter = new NMSRelighter(queue, Settings.IMP.LIGHTING.DO_HEIGHTMAPS);
for (int x = minX; x <= maxX; x++) {
for (int z = minZ; z <= maxZ; z++) {
relighter.addChunk(x, z, null, 65535);