diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-06-30 23:55:07 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-06-30 23:55:07 -0400 |
commit | c277590fc2159a6a3599272e8320f600879a75ec (patch) | |
tree | cb6b63a8941743447f5b2f236b4c970b4b087646 /node_defs.lua | |
parent | 9e2c0485f4ab9aaab13f7b69c84e39049dd6523b (diff) |
Phased out all deprecated minetest.env:* uses in favor of minetest.*
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, }) |