From f49553c64b1f64824bd9ab518d9eb0064fe261a8 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Wed, 27 Jul 2016 01:54:45 +0100 Subject: [PATCH] FIX: GetInboxItem() change in 7.0.3 Return parameters of GetInboxItem() have changed in 7.0.3 Instead of returning name, itemTexture, count, quality, canUse the function now returns name, itemID, itemTexture, count, quality, canUse Source: http://wow.gamepedia.com/Patch_7.0.3/API_changes --- BagSync.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.9.5