Skip to content

Commit f6ca8fd

Browse files
Fix the issue where the armor value modifier is not working (GregTechCEu#1539)
1 parent 2bcdfa1 commit f6ca8fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/gregtechceu/gtceu/api/item/armor/ArmorComponentItem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ public void attachComponents(IItemComponent... components) {
6565
public Multimap<Attribute, AttributeModifier> getAttributeModifiers(EquipmentSlot slot, ItemStack stack) {
6666
Multimap<Attribute, AttributeModifier> multimap = ArrayListMultimap.create();
6767
IArmorLogic armorLogic = getArmorLogic();
68-
multimap.putAll(armorLogic.getAttributeModifiers(slot, stack));
6968
multimap.putAll(super.getAttributeModifiers(slot, stack));
69+
multimap.putAll(armorLogic.getAttributeModifiers(slot, stack));
7070
return multimap;
7171
}
7272

0 commit comments

Comments
 (0)