summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalinou <calinou9999spam@gmail.com>2013-09-11 09:55:14 +0200
committerCalinou <calinou9999spam@gmail.com>2013-09-11 09:55:14 +0200
commit740e66f19a504c4729bf740a438c6b798ef56322 (patch)
treef31af2161dd0420ee87e9b1723f765a9b17fb8cd
parent53d846ba8bb8c636efafd73f7d457d6f8188fcaa (diff)
Fix again
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index ad51679..c7a78c0 100644
--- a/init.lua
+++ b/init.lua
@@ -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)