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:
tekkub :bear:  2015-02-27 22:01:31 -07:00
parent 7a9f2e658b
commit 13c4b1677b
1 changed files with 1 additions and 1 deletions

View File

@ -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)