mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 19:05:16 +00:00
Fix armor set tooltip having wrong item name
This commit is contained in:
1 parent
84537a7495
commit
65f6148dcf
1 file changed
+1
-1
+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);
|
||||
|
||||
Reference in new issue
Block a user