Pass material to hoe registration

962bb6aeff/hoes.lua (L48)
This commit is contained in:
taylorskalyo 2022-11-19 13:46:22 -05:00
parent fb2d58d8c8
commit 3fc5647694
1 changed files with 1 additions and 0 deletions

View File

@ -216,6 +216,7 @@ local function add_ore(modname, description, mineral_name, oredef)
if tool_name == "hoe" and minetest.get_modpath("farming") then
tdef.max_uses = tooldef.max_uses
tdef.material = ingot
tdef.description = S("@1 Hoe", S(description))
farming.register_hoe(fulltool_name, tdef)
end