1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-11-18 08:00:43 +01:00

Fixed stupid node names

This commit is contained in:
Craig Robbins 2014-08-20 22:43:32 +10:00
parent cd0735203a
commit 38d972d58e

View File

@ -76,7 +76,7 @@ abstract_ferns.grow_giant_tree_fern = function(pos)
-- add leaves so long as the destination nodes are air
for j = 1, 3 do
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
endpos = j
break
@ -84,7 +84,7 @@ abstract_ferns.grow_giant_tree_fern = function(pos)
end
-- add the terminating leaf if required and possible
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