1
0
Fork 0

Fix crash in netherite hoe by adding netherite to uses{}

mineclone5
Code-Sploit 2021-04-14 13:10:07 +00:00
parent 5c9a78bea7
commit 464216ea0a
1 changed files with 2 additions and 1 deletions

View File

@ -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 }
},
})