Fix armor set tooltip having wrong item name

This commit is contained in:
Vincent Lee committed 2019-11-11 22:51:28 -06:00
1 parent 84537a7495
commit 65f6148dcf
1 file changed
+1 -1
@@ -129,7 +129,7 @@ public class ItemManasteelArmor extends ArmorItem implements IManaUsingItem, IPh
addArmorSetDescription(stack, list);
ItemStack[] stacks = getArmorSetStacks();
for (ItemStack armor : stacks) {
ITextComponent cmp = new StringTextComponent(" - ").appendSibling(stack.getDisplayName());
ITextComponent cmp = new StringTextComponent(" - ").appendSibling(armor.getDisplayName());
EquipmentSlotType slot = ((ArmorItem) armor.getItem()).getEquipmentSlot();
if (hasArmorSetItem(player, slot))
cmp.getStyle().setColor(TextFormatting.GREEN);