From 059cc897af0aebfbd2c54ac5588f2b842f44f159 Mon Sep 17 00:00:00 2001 From: upsilon Date: Tue, 3 Nov 2020 17:06:02 +0100 Subject: [PATCH] Make call to `punch` compatible with MT 5.4.0 Fixes #6 --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index bfa7ae9..45fea5b 100644 --- a/init.lua +++ b/init.lua @@ -108,7 +108,7 @@ local function arrow_punch(object, hitter, caps) if time_from_last_punch >= (caps.full_punch_interval or 1) then last_punch_times[hitter_name][player_name] = os.time() end - object:punch(hitter, time_from_last_punch, caps) + object:punch(hitter, time_from_last_punch, caps, nil) end if get_setting("arrow") then