1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-05 08:55:01 -05:00

Add on_punchnode callback

This commit is contained in:
Wayward One 2016-04-30 10:31:11 -04:00 committed by Craig Robbins
parent 143401451c
commit 8b940c005f

View File

@ -258,3 +258,8 @@ function on_dignode(p, node)
nodeupdate(p)
end
core.register_on_dignode(on_dignode)
function on_punchnode(p, node)
nodeupdate(p)
end
core.register_on_punchnode(on_punchnode)