minetest.env:* --> minetest.*

This commit is contained in:
Vanessa Ezekowitz 2014-11-30 12:28:36 -05:00
parent 46aed3d39e
commit b3f008196b

@ -21,7 +21,7 @@ local trampoline_punch = function(pos, node)
local id = string.sub(node.name, #node.name) local id = string.sub(node.name, #node.name)
id = id + 1 id = id + 1
if id == 7 then id = 1 end if id == 7 then id = 1 end
minetest.env:add_node(pos, {name = string.sub(node.name, 1, #node.name - 1)..id}) minetest.add_node(pos, {name = string.sub(node.name, 1, #node.name - 1)..id})
end end
for i = 1, 6 do for i = 1, 6 do