Use weapon group in enchantment def.

This commit is contained in:
seventeenthShulker 2024-06-20 21:24:53 +01:00
parent c9b4c8a1ca
commit ec2f08b0c9

View file

@ -724,7 +724,7 @@ mcl_enchanting.enchantments.soul_speed = {
mcl_enchanting.enchantments.unbreaking = { mcl_enchanting.enchantments.unbreaking = {
name = S("Unbreaking"), name = S("Unbreaking"),
max_level = 3, max_level = 3,
primary = {armor_head = true, armor_torso = true, armor_legs = true, armor_feet = true, pickaxe = true, shovel = true, axe = true, hoe = true, sword = true, fishing_rod = true, bow = true, crossbow = true}, primary = {armor_head = true, armor_torso = true, armor_legs = true, armor_feet = true, pickaxe = true, shovel = true, axe = true, hoe = true, fishing_rod = true, weapon = true},
secondary = {tool = true}, secondary = {tool = true},
disallow = {non_combat_armor = true}, disallow = {non_combat_armor = true},
incompatible = {}, incompatible = {},