diff options
Diffstat (limited to 'data/mods')
-rw-r--r-- | data/mods/default/init.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua index e6342c357..11fac245d 100644 --- a/data/mods/default/init.lua +++ b/data/mods/default/init.lua @@ -82,8 +82,9 @@ end -- minetest.register_node(name, {lots of stuff}) -- minetest.register_craft({output=item, recipe={...}) -- minetest.register_globalstep(func) --- minetest.register_on_placenode(func) --- minetest.register_on_dignode(func) +-- minetest.register_on_placenode(func(pos, newnode, placer)) +-- minetest.register_on_dignode(func(pos, oldnode, digger)) +-- minetest.register_on_punchnode(func(pos, node, puncher)) -- -- Global objects: -- minetest.env - environment reference |