mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2024-11-12 13:20:39 +01:00
Fixed stupid node names
This commit is contained in:
parent
cd0735203a
commit
38d972d58e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user