Workaround for hoe crash

This commit is contained in:
Calinou 2013-09-16 11:24:08 +02:00
parent 1467585635
commit 76b04dd3be

View File

@ -61,7 +61,7 @@ local function hoe_on_use(itemstack, user, pointed_thing, uses)
pos = pt.under, pos = pt.under,
gain = 0.5, gain = 0.5,
}) })
itemstack:add_wear(65535/(uses-1)) --itemstack:add_wear(65535/(uses-1))
return itemstack return itemstack
end end