Fix again

This commit is contained in:
Calinou 2013-09-11 09:55:14 +02:00
parent 53d846ba8b
commit 740e66f19a
1 changed files with 1 additions and 1 deletions

View File

@ -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)