mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
lua: world.get_total_time + set_block_user_bits fix
This commit is contained in:
parent
ff7f18fa7b
commit
31eda1abb2
6 changed files with 147 additions and 112 deletions
|
|
@ -102,7 +102,11 @@ bool ChunksController::loadVisible(){
|
|||
chunks->putChunk(chunk);
|
||||
|
||||
if (!chunk->isLoaded()) {
|
||||
generator->generate(chunk->voxels, chunk->x, chunk->z, level->world->seed);
|
||||
generator->generate(
|
||||
chunk->voxels,
|
||||
chunk->x, chunk->z,
|
||||
level->world->getSeed()
|
||||
);
|
||||
chunk->setUnsaved(true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue