Quantcast

Merge pull request #36 from XandrTV/master

Xruptor [07-27-16 - 01:24]
Merge pull request #36 from XandrTV/master

FIX: GetInboxItem() change in 7.0.3
Filename
BagSync.lua
diff --git a/BagSync.lua b/BagSync.lua
index 96a125f..5d94ed2 100644
--- a/BagSync.lua
+++ b/BagSync.lua
@@ -415,7 +415,7 @@ local function ScanMailbox()
 	if (numInbox > 0) then
 		for mailIndex = 1, numInbox do
 			for i=1, ATTACHMENTS_MAX_RECEIVE do
-				local name, itemTexture, count, quality, canUse = GetInboxItem(mailIndex, i)
+				local name, itemID, itemTexture, count, quality, canUse = GetInboxItem(mailIndex, i)
 				local link = GetInboxItemLink(mailIndex, i)

 				if name and link and ToShortLink(link) then