This commit is contained in:
1F616EMO 2021-06-07 15:59:45 +08:00
parent 608f7ce69a
commit ac590a05b1
Signed by: Emojigit
GPG Key ID: 2443E5F619026B90
2 changed files with 2 additions and 3 deletions

View File

@ -138,7 +138,7 @@ function mcl_armor.register_set(def)
_mcl_upgradable = def.upgradable,
})
if def.craft_material and not(def.disable_craft) then
if def.craft_material then
minetest.register_craft({
output = itemstring,
recipe = element.craft(def.craft_material),

View File

@ -94,8 +94,7 @@ mcl_armor.register_set({
feet = 3,
},
toughness = 3,
craft_material = "mcl_nether:netherite_ingot",
disable_craft = true,
repair_material = "mcl_nether:netherite_ingot",
})
mcl_armor.register_protection_enchantment({