Skip to content

Commit

Permalink
Make call to punch compatible with MT 5.4.0
Browse files Browse the repository at this point in the history
Fixes #6
  • Loading branch information
paly2 committed Nov 3, 2020
1 parent 1f88969 commit 059cc89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 059cc89

Please sign in to comment.