From 8b940c005fd13db4e611ec49bc44881048b42cf7 Mon Sep 17 00:00:00 2001 From: Wayward One Date: Sat, 30 Apr 2016 10:31:11 -0400 Subject: [PATCH] Add on_punchnode callback --- builtin/game/falling.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/builtin/game/falling.lua b/builtin/game/falling.lua index 57bb98cfd..fa7ff24bc 100644 --- a/builtin/game/falling.lua +++ b/builtin/game/falling.lua @@ -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) -- 2.25.1