mirror of
https://github.com/minetest-mods/moreores.git
synced 2024-12-22 22:02:28 +01:00
Workaround for hoe crash
This commit is contained in:
parent
1467585635
commit
76b04dd3be
2
init.lua
2
init.lua
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user