Merge pull request #362 from StevenRS11/1.20.1-multiplatform
fixed lighting when loading pocket dungeons
This commit is contained in:
commit
6118501a9b
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ public class RelativeBlockSample implements BlockGetter, LevelWriter {
|
||||||
}
|
}
|
||||||
|
|
||||||
// do the lighting thing
|
// do the lighting thing
|
||||||
serverChunkManager.getLightEngine().lightChunk(chunk, false);
|
serverChunkManager.getLightEngine().initializeLight(chunk, true);
|
||||||
|
|
||||||
// TODO: depending on size of blockEntityContainer it might be faster to iterate over BlockPos.stream(intersection) instead
|
// TODO: depending on size of blockEntityContainer it might be faster to iterate over BlockPos.stream(intersection) instead
|
||||||
this.blockEntityContainer.forEach((blockPos, nbt) -> {
|
this.blockEntityContainer.forEach((blockPos, nbt) -> {
|
||||||
|
|
Loading…
Reference in a new issue