mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
Fix crash in netherite hoe by adding netherite to uses{}
This commit is contained in:
parent
9b25567274
commit
aee4d15a57
1 changed files with 3 additions and 2 deletions
|
@ -55,6 +55,7 @@ local uses = {
|
||||||
iron = 251,
|
iron = 251,
|
||||||
gold = 33,
|
gold = 33,
|
||||||
diamond = 1562,
|
diamond = 1562,
|
||||||
|
netherite = 2031,
|
||||||
}
|
}
|
||||||
|
|
||||||
local hoe_tt = S("Turns block into farmland")
|
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",
|
_repair_material = "mcl_nether:netherite_ingot",
|
||||||
_mcl_toollike_wield = true,
|
_mcl_toollike_wield = true,
|
||||||
_mcl_diggroups = {
|
_mcl_diggroups = {
|
||||||
hoey = { speed = 8, level = 5, uses = 2031 }
|
hoey = { speed = 8, level = 5, uses = uses.netherite }
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue