fixed http://i65.tinypic.com/96mfj6.png by renaming a forgotten 'data' to DBitem.locations[location]

manavortex [03-02-18 - 07:41]
fixed http://i65.tinypic.com/96mfj6.png by renaming a forgotten 'data' to DBitem.locations[location]
Filename
IIfA/IIfADataCollection.lua
diff --git a/IIfA/IIfADataCollection.lua b/IIfA/IIfADataCollection.lua
index f87435b..a38f6cd 100644
--- a/IIfA/IIfADataCollection.lua
+++ b/IIfA/IIfADataCollection.lua
@@ -474,8 +474,7 @@ function IIfA:EvalBagItem(bagId, slotId, fromXfer, qty, itemLink, itemName, loca
 p(DBitem.locations[location])
 			if DBitem.locations[location] then
 				if type(DBitem.locations[location].bagSlot) ~= "table" then
-					local bagSlot
-					bagSlot = data.bagSlot
+					local bagSlot = DBitem.locations[location].bagSlot
 					DBitem.locations[location].bagSlot = {}
 					DBitem.locations[location].bagSlot[bagSlot] = DBitem.locations[location].itemCount
 					DBitem.locations[location].itemCount = nil