Add wear when throwing grapple hook
This commit is contained in:
parent
d973815a18
commit
b61b0cdac6
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ minetest.register_tool("shooter:grapple_hook", {
|
|||
if pointed_thing.type ~= "nothing" then
|
||||
return itemstack
|
||||
end
|
||||
itemstack:add_wear(65536 / 16)
|
||||
throw_hook(itemstack, user, 14)
|
||||
return ""
|
||||
end,
|
||||
|
|
Loading…
Reference in a new issue