ItemRack adds confusing entries to tooltips on empty inventory slots
Elberet opened this issue ยท 2 comments
In ItemRack version 3.77 (latest as of reporting this issue), when an equipment slot is empty but enabled to indicate this slot should be unequipped, ItemRack starts adding tooltips to empty itemslots, incorrectly believing that e.g. an empty bag slot is the same as an empty equipment set slot.
Symptoms:
In the options, flyout menus contain a "broken" empty option:
Additionally, the ItemRack options window shows a ranged weapon slot with the bow icon, and an ammunition slot, even tho my character is a shaman. It does, however, correctly list totems in the "bow" slot flyout menu, and correctly equips and unequips totems.
When hovering over an empty bag slot, a tooltip shows that ItemRack identifies the empty slot as an item in an equipment set:
The erronous tooltip goes away, if no set contains any empty slots, or if all empty slots in all sets are disabled / ignored.
This error was not present in version 3.75. I am playing WoW WotLK Classic with German localization
I believe the problem is related to this line:
ItemRack/ItemRack/ItemRack.lua
Line 683 in ae85321
The string concatenation causes ItemRack.GetID
to always return a string. Callers that previously tested item IDs with itemID ~= 0
will no longer work, since that comparison is type sensitive.