Fix missing API param.

Without puncher, we wouldn't be able to lookup wielditems.
This commit is contained in:
Aaron Suen 2018-11-02 19:23:13 -04:00
parent cd8db98c68
commit e4f5ac93bc

View File

@ -13,6 +13,7 @@ minetest.register_on_punchnode(function(pos, node, puncher, pointed)
local now = minetest.get_us_time() / 1000000
local pum = {
puncher = puncher
pname = pname,
pos = pos,
pointed = pointed,