mirror of
https://github.com/minetest-mods/throwing_arrows.git
synced 2025-01-08 09:10:27 +01:00
parent
1f88969175
commit
059cc897af
2
init.lua
2
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
|
if time_from_last_punch >= (caps.full_punch_interval or 1) then
|
||||||
last_punch_times[hitter_name][player_name] = os.time()
|
last_punch_times[hitter_name][player_name] = os.time()
|
||||||
end
|
end
|
||||||
object:punch(hitter, time_from_last_punch, caps)
|
object:punch(hitter, time_from_last_punch, caps, nil)
|
||||||
end
|
end
|
||||||
|
|
||||||
if get_setting("arrow") then
|
if get_setting("arrow") then
|
||||||
|
Loading…
Reference in New Issue
Block a user