Fix floating vines rarely generating in jungles

This commit is contained in:
Wuzzy 2019-03-22 11:20:34 +01:00
parent 5647fbf6e0
commit c49efcf9ad

View File

@ -1392,7 +1392,7 @@ local function generate_tree_decorations(minp, maxp, seed, data, param2_data, ar
-- Pass 1: Generate cocoas at jungle trees -- Pass 1: Generate cocoas at jungle trees
for n = 1, #jungletree do for n = 1, #jungletree do
pos = jungletree[n] pos = table.copy(jungletree[n])
treepos = table.copy(pos) treepos = table.copy(pos)
if minetest.find_node_near(pos, 1, {"mcl_core:jungleleaves"}) then if minetest.find_node_near(pos, 1, {"mcl_core:jungleleaves"}) then