Add wear when throwing grapple hook

This commit is contained in:
rubenwardy 2020-03-14 17:54:53 +00:00
parent d973815a18
commit b61b0cdac6

View file

@ -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,