mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-22 16:09:33 +01:00
add missing 'local' (#4733)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4733 Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com> Co-authored-by: kno10 <erich.schubert@gmail.com> Co-committed-by: kno10 <erich.schubert@gmail.com>
This commit is contained in:
parent
c6c5de7335
commit
28e028aa65
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ local EMPTY_SCHEMATIC = { size = {x = 0, y = 0, z = 0}, data = { } }
|
|||
|
||||
function mcl_structures.register_structure(name,def,nospawn) --nospawn means it will not be placed by mapgen decoration mechanism
|
||||
if mcl_structures.is_disabled(name) then return end
|
||||
flags = def.flags or "place_center_x, place_center_z, force_placement"
|
||||
local flags = def.flags or "place_center_x, place_center_z, force_placement"
|
||||
def.name = name
|
||||
if not nospawn and def.place_on then
|
||||
minetest.register_on_mods_loaded(function() --make sure all previous decorations and biomes have been registered
|
||||
|
|
Loading…
Reference in a new issue