mirror of
https://github.com/minetest/minetest.git
synced 2024-12-29 17:37:30 +01:00
732eb72a0c
On calling clear_redistered_biomes the registered_biomes table is cleared by creating a new empty table, but the pointer is not updated to point to the new one. So after calling more register_biome, the registered_biome table always contains 0 items, which is an error. Instead, the table is cleared by removing all its items so the pointer (minetest.registered_*) remains valid. |
||
---|---|---|
.. | ||
auth.lua | ||
chatcommands.lua | ||
deprecated.lua | ||
detached_inventory.lua | ||
falling.lua | ||
features.lua | ||
forceloading.lua | ||
init.lua | ||
item_entity.lua | ||
item.lua | ||
misc.lua | ||
mod_profiling.lua | ||
privileges.lua | ||
register.lua | ||
statbars.lua | ||
static_spawn.lua | ||
voxelarea.lua |