Revert changed made to debug minecart-updates integration into tsm_railcorridors

This commit is contained in:
teknomunk 2024-04-25 15:38:08 +00:00
parent 36883fbde5
commit f60e528614
1 changed files with 1 additions and 2 deletions

View File

@ -1090,12 +1090,11 @@ mcl_structures.register_structure("mineshaft",{
y_min = mcl_vars.mg_overworld_min, y_min = mcl_vars.mg_overworld_min,
place_func = function(pos,_,pr,blockseed) place_func = function(pos,_,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