tweak rod uses (thx fluxionary)

This commit is contained in:
tenplus1 2023-07-06 07:47:07 +01:00
parent 81d0dfaf8e
commit a279ef390b

View File

@ -433,10 +433,9 @@ local use_rod = function(itemstack, player, pointed_thing)
end
-- Add wear to fishing rod (65 uses)
local item = player:get_wielded_item()
itemstack:add_wear(65535 / 65)
item:add_wear(65535 / 65)
player:set_wielded_item(item)
return itemstack
end