1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02:00

Allow active blocks to be generated (#14185)

This commit is contained in:
lhofhansl
2024-01-13 10:27:41 -08:00
committed by GitHub
parent 518ecd7f4e
commit 59abf1bb42
3 changed files with 4 additions and 4 deletions

View File

@@ -1457,7 +1457,7 @@ void ServerEnvironment::step(float dtime)
*/
for (const v3s16 &p: blocks_added) {
MapBlock *block = m_map->getBlockOrEmerge(p);
MapBlock *block = m_map->getBlockOrEmerge(p, true);
if (!block) {
// TODO: The blocks removed here will only be picked up again
// on the next cycle. To minimize the latency of objects being