diff options
Diffstat (limited to 'node_defs.lua')
-rw-r--r-- | node_defs.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node_defs.lua b/node_defs.lua index 651e0cf..281a71f 100644 --- a/node_defs.lua +++ b/node_defs.lua @@ -143,7 +143,7 @@ for i in ipairs(moretrees.treelist) do action = function(pos, node, active_object_count, active_object_count_wider) local fdir = node.param2 or 0 nfdir = dirs2[fdir+1] - minetest.env:add_node(pos, {name = "moretrees:"..treename.."_trunk", param2 = nfdir}) + minetest.add_node(pos, {name = "moretrees:"..treename.."_trunk", param2 = nfdir}) end, }) @@ -239,7 +239,7 @@ minetest.register_abm({ action = function(pos, node, active_object_count, active_object_count_wider) local fdir = node.param2 or 0 nfdir = dirs2[fdir+1] - minetest.env:add_node(pos, {name = "moretrees:rubber_tree_trunk_empty", param2 = nfdir}) + minetest.add_node(pos, {name = "moretrees:rubber_tree_trunk_empty", param2 = nfdir}) end, }) |