forked from VoxeLibre/VoxeLibre
Don't generate bedrock and lava in singlenode
This commit is contained in:
parent
44e756cc8d
commit
d4708c804a
|
@ -1689,6 +1689,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
-- Realm barrier between the Overworld void and the End
|
-- 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)
|
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
|
-- Bedrock
|
||||||
local bedrock_check
|
local bedrock_check
|
||||||
if mcl_vars.mg_bedrock_is_rough then
|
if mcl_vars.mg_bedrock_is_rough then
|
||||||
|
@ -1851,6 +1852,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
-- Final hackery: Set sun light level in the End.
|
-- Final hackery: Set sun light level in the End.
|
||||||
-- -26912 is at a mapchunk border.
|
-- -26912 is at a mapchunk border.
|
||||||
|
@ -1873,11 +1875,12 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
vm:update_liquids()
|
vm:update_liquids()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if mg_name ~= "singlenode" then
|
||||||
-- Generate special decorations
|
-- Generate special decorations
|
||||||
generate_underground_mushrooms(minp, maxp, seed)
|
generate_underground_mushrooms(minp, maxp, seed)
|
||||||
generate_nether_decorations(minp, maxp, seed)
|
generate_nether_decorations(minp, maxp, seed)
|
||||||
generate_structures(minp, maxp, seed, biomemap)
|
generate_structures(minp, maxp, seed, biomemap)
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue