add minetest.register_on_punchplayer