Skip to content

Commit

Permalink
Fix the issue where the armor value modifier is not working (#1539)
Browse files Browse the repository at this point in the history
  • Loading branch information
gateguardian523 authored Jul 4, 2024
1 parent 2bcdfa1 commit f6ca8fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ public void attachComponents(IItemComponent... components) {
public Multimap<Attribute, AttributeModifier> getAttributeModifiers(EquipmentSlot slot, ItemStack stack) {
Multimap<Attribute, AttributeModifier> multimap = ArrayListMultimap.create();
IArmorLogic armorLogic = getArmorLogic();
multimap.putAll(armorLogic.getAttributeModifiers(slot, stack));
multimap.putAll(super.getAttributeModifiers(slot, stack));
multimap.putAll(armorLogic.getAttributeModifiers(slot, stack));
return multimap;
}

Expand Down

0 comments on commit f6ca8fd

Please sign in to comment.