From c142b47539f1c96328856b859ff9d3ad82bbcd5e Mon Sep 17 00:00:00 2001 From: taylorskalyo Date: Sun, 20 Nov 2022 12:19:16 +0000 Subject: [PATCH] Pass material to hoe registration (#48) --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index 482a5e9..20830c1 100644 --- a/init.lua +++ b/init.lua @@ -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