1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-11-14 14:20:40 +01:00

Fixed stupid node names

This commit is contained in:
Craig Robbins 2014-08-20 22:43:32 +10:00 committed by Vanessa Ezekowitz
parent 9ad737f951
commit 878c5dd449

View File

@ -76,7 +76,7 @@ abstract_ferns.grow_giant_tree_fern = function(pos)
-- add leaves so long as the destination nodes are air -- add leaves so long as the destination nodes are air
for j = 1, 3 do for j = 1, 3 do
if minetest.get_node(positions[j]).name == "air" then if minetest.get_node(positions[j]).name == "air" then
minetest.set_node(positions[j], {name="ferns:tree_fern_leaves_big"}) minetest.set_node(positions[j], {name="ferns:tree_fern_leave_big"})
else else
endpos = j endpos = j
break break
@ -84,7 +84,7 @@ abstract_ferns.grow_giant_tree_fern = function(pos)
end end
-- add the terminating leaf if required and possible -- add the terminating leaf if required and possible
if endpos == 4 and minetest.get_node(positions[endpos]).name == "air" then if endpos == 4 and minetest.get_node(positions[endpos]).name == "air" then
minetest.set_node(positions[endpos], {name="ferns:tree_fern_leaves_big_end", param2=rot}) minetest.set_node(positions[endpos], {name="ferns:tree_fern_leave_big_end", param2=rot})
end end
end end
end end