This commit is contained in:
Vanessa Dannenberg 2019-06-18 14:59:34 -04:00
parent 3d13053d97
commit 31e0066238

View File

@ -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