forked from mtcontrib/minetest-mod-snow
Fix legacy mapgen_v6 floating apple bug.
This commit is contained in:
parent
212e7d000e
commit
bc276b44cf
@ -84,7 +84,7 @@ if snow.legacy then
|
||||
pr = PseudoRandom(seed+68)
|
||||
|
||||
if alpine then
|
||||
local trees = env:find_nodes_in_area(minp, maxp, {"default:leaves","default:tree"})
|
||||
local trees = env:find_nodes_in_area(minp, maxp, {"default:leaves","default:tree", "default:apple"})
|
||||
for i,v in pairs(trees) do
|
||||
env:remove_node(v)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user