mirror of
https://github.com/minetest-mods/moreores.git
synced 2024-12-31 20:50:19 +01:00
Fix again
This commit is contained in:
parent
53d846ba8b
commit
740e66f19a
2
init.lua
2
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)
|
||||
|
Loading…
Reference in New Issue
Block a user