Don't generate bedrock and lava in singlenode
This commit is contained in:
parent
44e756cc8d
commit
d4708c804a
1 changed files with 151 additions and 148 deletions
|
@ -1689,6 +1689,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
-- Realm barrier between the Overworld void and the End
|
||||
lvm_used = set_layers(c_realm_barrier, nil, mcl_vars.mg_realm_barrier_overworld_end_min, mcl_vars.mg_realm_barrier_overworld_end_max, minp, maxp, lvm_used)
|
||||
|
||||
if mg_name ~= "singlenode" then
|
||||
-- Bedrock
|
||||
local bedrock_check
|
||||
if mcl_vars.mg_bedrock_is_rough then
|
||||
|
@ -1851,6 +1852,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- Final hackery: Set sun light level in the End.
|
||||
-- -26912 is at a mapchunk border.
|
||||
|
@ -1873,11 +1875,12 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
vm:update_liquids()
|
||||
end
|
||||
|
||||
|
||||
if mg_name ~= "singlenode" then
|
||||
-- Generate special decorations
|
||||
generate_underground_mushrooms(minp, maxp, seed)
|
||||
generate_nether_decorations(minp, maxp, seed)
|
||||
generate_structures(minp, maxp, seed, biomemap)
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
|
|
Reference in a new issue