tweak rod uses (thx fluxionary)
This commit is contained in:
parent
81d0dfaf8e
commit
a279ef390b
@ -433,10 +433,9 @@ local use_rod = function(itemstack, player, pointed_thing)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- Add wear to fishing rod (65 uses)
|
-- Add wear to fishing rod (65 uses)
|
||||||
local item = player:get_wielded_item()
|
itemstack:add_wear(65535 / 65)
|
||||||
|
|
||||||
item:add_wear(65535 / 65)
|
return itemstack
|
||||||
player:set_wielded_item(item)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user