forked from mtcontrib/plantlife_modpack
oops
This commit is contained in:
parent
3d13053d97
commit
31e0066238
@ -221,7 +221,7 @@ for i in pairs(TRuNKS) do
|
|||||||
if minetest.get_modpath(MoD) ~= nil
|
if minetest.get_modpath(MoD) ~= nil
|
||||||
and NR < 6 -- moretrees trunks allready have facedir
|
and NR < 6 -- moretrees trunks allready have facedir
|
||||||
and minetest.registered_nodes[trunkname] then -- the node being called exists.
|
and minetest.registered_nodes[trunkname] then -- the node being called exists.
|
||||||
temptrunk = minetest.registered_nodes[trunkname]
|
temptrunk = table.copy(minetest.registered_nodes[trunkname])
|
||||||
temptrunk.paramtype2 = "facedir"
|
temptrunk.paramtype2 = "facedir"
|
||||||
minetest.register_node(":"..trunkname, temptrunk)
|
minetest.register_node(":"..trunkname, temptrunk)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user