mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Actually fix weather
The real problem was that MapBlocks were not activated before getting sent to the client
This commit is contained in:
@@ -429,6 +429,8 @@ bool EmergeThread::getBlockOrStartGen(v3s16 p, MapBlock **b,
|
||||
if (!block || block->isDummy() || !block->isGenerated()) {
|
||||
EMERGE_DBG_OUT("not in memory, attempting to load from disk");
|
||||
block = map->loadBlock(p);
|
||||
if (block && block->isGenerated())
|
||||
map->prepareBlock(block);
|
||||
}
|
||||
|
||||
// If could not load and allowed to generate,
|
||||
|
Reference in New Issue
Block a user