mirror of
https://github.com/minetest-mods/jumping.git
synced 2024-11-22 07:03:48 +01:00
Merge pull request #4 from VanessaE/master
minetest.env:* --> minetest.*
This commit is contained in:
commit
47df671545
@ -21,7 +21,7 @@ local trampoline_punch = function(pos, node)
|
||||
local id = string.sub(node.name, #node.name)
|
||||
id = id + 1
|
||||
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
|
||||
|
||||
for i = 1, 6 do
|
||||
|
Loading…
Reference in New Issue
Block a user