forked from Mirrorlandia_minetest/minetest
Add on_punchnode callback
This commit is contained in:
parent
143401451c
commit
8b940c005f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user