mirror of
https://github.com/minetest-mods/moreores.git
synced 2025-01-03 11:27:33 +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
|
if toolname == "hoe" then
|
||||||
tdef.description = S("%s Hoe"):format(S(description))
|
tdef.description = S("%s Hoe"):format(S(description))
|
||||||
local uses = tooldef.uses
|
local uses = tdef.uses
|
||||||
tdef.uses = nil
|
tdef.uses = nil
|
||||||
tdef.on_use = function(itemstack, user, pointed_thing)
|
tdef.on_use = function(itemstack, user, pointed_thing)
|
||||||
return hoe_on_use(itemstack, user, pointed_thing, uses)
|
return hoe_on_use(itemstack, user, pointed_thing, uses)
|
||||||
|
Loading…
Reference in New Issue
Block a user