Check bank items now
Fuck yes I'm glad they fixed this. How did it not make it into the patch notes?
This commit is contained in:
parent
7a9f2e658b
commit
13c4b1677b
|
@ -103,7 +103,7 @@ local function SetValue(self, text, icon, link)
|
|||
local id = link and link:match("item:(%d+)")
|
||||
self.link, self.index, self.itemIndex = nil
|
||||
if id then self.link = link end
|
||||
if id and (GetItemCount(id) or 0) < text or link and not id and (GetCurencyCount(link) or 0) < text then
|
||||
if id and (GetItemCount(id, true) or 0) < text or link and not id and (GetCurencyCount(link) or 0) < text then
|
||||
color = "|cffff9999"
|
||||
end
|
||||
self.text:SetText(color..text)
|
||||
|
|
Loading…
Reference in New Issue