diff Modules/Crafting.lua @ 82:e9f7bc9199ca release 2010-08-05

Fixed Bug 23 - When you purchase multiple stacks of the same item and it is one you have not invested in yet, ItemAuditor mistakenly counted items you have not yet pulled from the mail as items you already owned. This resulted in those items being counted twice.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Thu, 05 Aug 2010 22:20:44 -0700
parents a8fc802b42ba
children 8d5ad3b71f6f
line wrap: on
line diff
--- a/Modules/Crafting.lua	Thu Aug 05 20:21:05 2010 -0700
+++ b/Modules/Crafting.lua	Thu Aug 05 22:20:44 2010 -0700
@@ -379,7 +379,7 @@
 			
 			-- This check has to be here for things like Inscription Research that don't produce an item.
 			if itemLink then
-				local count = Altoholic:GetItemCount(itemId)
+				local count = ItemAuditor:GetItemCount(itemId)
 				local reagents = {}
 				local totalCost = 0
 				for reagentId = 1, GetTradeSkillNumReagents(i) do