From 2b7e388956ba3e6858282a234882d9933e605c50 Mon Sep 17 00:00:00 2001 From: Joseph Collins Date: Wed, 30 Jan 2013 02:29:03 -0800 Subject: [PATCH] Scratch that, modified Character to include counts again --- Character.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Character.lua b/Character.lua index 39f9de6..bbb80f6 100644 --- a/Character.lua +++ b/Character.lua @@ -134,6 +134,7 @@ function Character:UpdateBags() link = GetContainerItemLink(bag, slot) if link then ItemScanner:AddToItemPool(link, function(link) + local count = select(2, GetContainerItemInfo(bag, slot)) tinsert(self.db.bags, {bag, slot, link, count}) end) end @@ -151,6 +152,7 @@ function Character:UpdateBank() link = GetContainerItemLink(bag, slot) if link then ItemScanner:AddToItemPool(link, function(link) + local count = select(2, GetContainerItemInfo(bag, slot)) tinsert(self.db.bank, {bag, slot, link, count}) end) end -- 1.7.9.5