mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Do not emerge while making railcorridors
it turns out to work fine without
This commit is contained in:
parent
b0da96611e
commit
f98242bb0c
1 changed files with 2 additions and 8 deletions
|
@ -1122,14 +1122,8 @@ mcl_structures.register_structure("mineshaft",{
|
|||
p.y = mcl_vars.mg_overworld_min + 5
|
||||
end
|
||||
if p.y > -10 then return true end
|
||||
local p1 = vector.offset(p,-def.sidelen,-def.sidelen,-def.sidelen)
|
||||
local p2 = vector.offset(p,def.sidelen,def.sidelen,def.sidelen)
|
||||
minetest.emerge_area(p1, p2, function(blockpos, action, calls_remaining, param)
|
||||
if calls_remaining ~= 0 then return end
|
||||
--minetest.log("lol")
|
||||
InitRandomizer(blockseed)
|
||||
create_corridor_system(p, pr)
|
||||
end)
|
||||
return true
|
||||
end,
|
||||
|
||||
|
|
Loading…
Reference in a new issue