add 'chunk.update-distance' setting

This commit is contained in:
MihailRis 2026-11-12 22:13:38 +03:00
parent f0a407c20a
commit cfdc8672ec
5 changed files with 32 additions and 6 deletions

View file

@ -46,7 +46,7 @@ LevelController::LevelController(
);
}
blocks = std::make_unique<BlocksController>(
*level, chunks ? chunks->lighting.get() : nullptr
*level, chunks ? chunks->lighting.get() : nullptr, settings
);
scripting::on_world_load(this);