forked from VoxeLibre/VoxeLibre
Change requested in MineCLone2/MineClone2#1787 MineClone2/MineClone2#1787 (comment)
This commit is contained in:
parent
608f7ce69a
commit
ac590a05b1
|
@ -138,7 +138,7 @@ function mcl_armor.register_set(def)
|
||||||
_mcl_upgradable = def.upgradable,
|
_mcl_upgradable = def.upgradable,
|
||||||
})
|
})
|
||||||
|
|
||||||
if def.craft_material and not(def.disable_craft) then
|
if def.craft_material then
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = itemstring,
|
output = itemstring,
|
||||||
recipe = element.craft(def.craft_material),
|
recipe = element.craft(def.craft_material),
|
||||||
|
|
|
@ -94,8 +94,7 @@ mcl_armor.register_set({
|
||||||
feet = 3,
|
feet = 3,
|
||||||
},
|
},
|
||||||
toughness = 3,
|
toughness = 3,
|
||||||
craft_material = "mcl_nether:netherite_ingot",
|
repair_material = "mcl_nether:netherite_ingot",
|
||||||
disable_craft = true,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
mcl_armor.register_protection_enchantment({
|
mcl_armor.register_protection_enchantment({
|
||||||
|
|
Loading…
Reference in New Issue