diff --git a/src/logic/BlocksController.cpp b/src/logic/BlocksController.cpp index 8ab863927..1e3ad2441 100644 --- a/src/logic/BlocksController.cpp +++ b/src/logic/BlocksController.cpp @@ -186,7 +186,7 @@ void BlocksController::randomTick(int tickid, int parts, uint padding) { continue; } auto& chunk = chunks.getChunks()[index]; - if (chunk == nullptr || !chunk->flags.lighted) { + if (chunk == nullptr || !chunk->flags.ready) { continue; } if (chunk->lastRandomTickId == randomTickId) { diff --git a/src/world/files/WorldRegions.cpp b/src/world/files/WorldRegions.cpp index 14139ed37..d96ed46fb 100644 --- a/src/world/files/WorldRegions.cpp +++ b/src/world/files/WorldRegions.cpp @@ -157,7 +157,7 @@ void WorldRegions::put(Chunk* chunk, std::vector entitiesData) { return; } assert(chunk != nullptr); - if (!chunk->flags.lighted) { + if (!chunk->flags.ready) { return; } bool lightsUnsaved = !chunk->flags.loadedLights && doWriteLights;