Show Attributes on Items in Auction House

This commit is contained in:
Kam committed 2026-02-21 03:31:44 -05:00
1 parent 5c975a339d
commit 9dac3d01d9
1 file changed
+6 -2
@@ -238,7 +238,7 @@ public class AttributeItemUtil {
NBTTagCompound attrTag = rpgCore.hasKey(TAG_ATTRIBUTES) ? rpgCore.getCompoundTag(TAG_ATTRIBUTES) : new NBTTagCompound();
if (Keyboard.isKeyDown(ClientProxy.NPCButton.getKeyCode()) || override) {
List<String> newTooltips = new ArrayList<>();
if (!tooltip.isEmpty()) {
if (!tooltip.isEmpty() && !override) {
newTooltips.add(tooltip.get(0));
}
@@ -326,7 +326,11 @@ public class AttributeItemUtil {
newTooltips.addAll(buildSection(reqEntries));
}
tooltip = newTooltips;
if(override){
tooltip.addAll(newTooltips);
} else {
tooltip = newTooltips;
}
} else {
String keyName = Keyboard.getKeyName(ClientProxy.NPCButton.getKeyCode());
tooltip.add(EnumChatFormatting.YELLOW + "" + EnumChatFormatting.ITALIC +