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 8e6e83c6bc
commit 02613d3bc8
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,
place_func = function(pos,_,pr,blockseed)
local r = pr:next(-50,-10)
r = -10
local p = vector.offset(pos,0,r,0)
if p.y < mcl_vars.mg_overworld_min + 5 then
p.y = mcl_vars.mg_overworld_min + 5
end
--if p.y > -10 then return true end
if p.y > -10 then return true end
InitRandomizer(blockseed)
local hook = tsm_railcorridors.on_start