mirror of
https://github.com/mt-mods/biome_lib.git
synced 2025-07-15 14:50:22 +02:00
Compare commits
1 Commits
2021-04-07
...
eabc053c05
Author | SHA1 | Date | |
---|---|---|---|
eabc053c05 |
2
init.lua
2
init.lua
@ -486,7 +486,7 @@ function biome_lib.generate_block(shutting_down)
|
|||||||
if not confirm_block_surroundings(minp)
|
if not confirm_block_surroundings(minp)
|
||||||
and not shutting_down
|
and not shutting_down
|
||||||
and (blocklog[1][4] + biome_lib.block_timeout) > now then -- if any neighbors appear not to be loaded and the block hasn't expired yet, defer it
|
and (blocklog[1][4] + biome_lib.block_timeout) > now then -- if any neighbors appear not to be loaded and the block hasn't expired yet, defer it
|
||||||
|
blocklog[1][4] = now -- reset the timer, give this block more time to "cook"
|
||||||
if biome_lib.run_block_recheck_list then
|
if biome_lib.run_block_recheck_list then
|
||||||
biome_lib.block_log[#biome_lib.block_log + 1] = table.copy(biome_lib.block_recheck_list[1])
|
biome_lib.block_log[#biome_lib.block_log + 1] = table.copy(biome_lib.block_recheck_list[1])
|
||||||
table.remove(biome_lib.block_recheck_list, 1)
|
table.remove(biome_lib.block_recheck_list, 1)
|
||||||
|
Reference in New Issue
Block a user