Skip to content
Snippets Groups Projects
Commit 740e66f1 authored by Calinou's avatar Calinou
Browse files

Fix again

parent 53d846ba
No related branches found
No related tags found
No related merge requests found
......@@ -204,7 +204,7 @@ local function add_ore(modname, description, mineral_name, oredef)
if toolname == "hoe" then
tdef.description = S("%s Hoe"):format(S(description))
local uses = tooldef.uses
local uses = tdef.uses
tdef.uses = nil
tdef.on_use = function(itemstack, user, pointed_thing)
return hoe_on_use(itemstack, user, pointed_thing, uses)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment