From 464216ea0af42cda7e1db62a14181a9d03e68caa Mon Sep 17 00:00:00 2001 From: Code-Sploit Date: Wed, 14 Apr 2021 13:10:07 +0000 Subject: [PATCH] Fix crash in netherite hoe by adding netherite to uses{} --- mods/ITEMS/mcl_farming/hoes.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_farming/hoes.lua b/mods/ITEMS/mcl_farming/hoes.lua index e1418c2792..e40b7f73d2 100644 --- a/mods/ITEMS/mcl_farming/hoes.lua +++ b/mods/ITEMS/mcl_farming/hoes.lua @@ -55,6 +55,7 @@ local uses = { iron = 251, gold = 33, diamond = 1562, + netherite = 2031, } local hoe_tt = S("Turns block into farmland") @@ -291,6 +292,6 @@ minetest.register_tool("mcl_farming:hoe_netherite", { _repair_material = "mcl_nether:netherite_ingot", _mcl_toollike_wield = true, _mcl_diggroups = { - hoey = { speed = 8, level = 5, uses = 2031 } + hoey = { speed = 8, level = 5, uses = uses.netherite } }, }) \ No newline at end of file