mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-28 05:21:05 +01:00
Revert changed made to debug minecart-updates integration into tsm_railcorridors
This commit is contained in:
parent
9d393aa2f1
commit
2f0976edc6
1 changed files with 1 additions and 2 deletions
|
@ -1092,12 +1092,11 @@ mcl_structures.register_structure("mineshaft",{
|
||||||
y_min = mcl_vars.mg_overworld_min,
|
y_min = mcl_vars.mg_overworld_min,
|
||||||
place_func = function(pos,def,pr,blockseed)
|
place_func = function(pos,def,pr,blockseed)
|
||||||
local r = pr:next(-50,-10)
|
local r = pr:next(-50,-10)
|
||||||
r = -10
|
|
||||||
local p = vector.offset(pos,0,r,0)
|
local p = vector.offset(pos,0,r,0)
|
||||||
if p.y < mcl_vars.mg_overworld_min + 5 then
|
if p.y < mcl_vars.mg_overworld_min + 5 then
|
||||||
p.y = mcl_vars.mg_overworld_min + 5
|
p.y = mcl_vars.mg_overworld_min + 5
|
||||||
end
|
end
|
||||||
--if p.y > -10 then return true end
|
if p.y > -10 then return true end
|
||||||
InitRandomizer(blockseed)
|
InitRandomizer(blockseed)
|
||||||
|
|
||||||
local hook = tsm_railcorridors.on_start
|
local hook = tsm_railcorridors.on_start
|
||||||
|
|
Loading…
Reference in a new issue