From 13c4b1677bfb8400cabdf42d9001c02b7d08e367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tekkub=20=3Abear=3A=E2=80=82?= Date: Fri, 27 Feb 2015 22:01:31 -0700 Subject: [PATCH] Check bank items now Fuck yes I'm glad they fixed this. How did it not make it into the patch notes? --- GnomishVendorShrinker.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GnomishVendorShrinker.lua b/GnomishVendorShrinker.lua index 12819b9..45de93b 100644 --- a/GnomishVendorShrinker.lua +++ b/GnomishVendorShrinker.lua @@ -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)