forked from Mineclonia/Mineclonia
Do not generate mapgen decorations on Nether roof
This commit is contained in:
parent
58b21fbe79
commit
d6741a5e4a
|
@ -1784,7 +1784,7 @@ end
|
||||||
-- Generate Nether decorations manually: Eternal fire, mushrooms, nether wart
|
-- Generate Nether decorations manually: Eternal fire, mushrooms, nether wart
|
||||||
-- Minetest's API does not support decorations in caves yet. :-(
|
-- Minetest's API does not support decorations in caves yet. :-(
|
||||||
local generate_nether_decorations = function(minp, maxp, seed)
|
local generate_nether_decorations = function(minp, maxp, seed)
|
||||||
if minp.y > mcl_vars.mg_nether_max or maxp.y < mcl_vars.mg_nether_min then
|
if minp.y > mcl_vars.mg_bedrock_nether_top_max or maxp.y < mcl_vars.mg_nether_min then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue