Mercurial > wow > inventory
comparison Modules/Queue.lua @ 95:31493364b163
Fixed GetItemId usage to the proper capitals.
| author | Zerotorescue |
|---|---|
| date | Sat, 08 Jan 2011 01:39:04 +0100 |
| parents | 88898c1e9e61 |
| children | 252292b703ce |
comparison
equal
deleted
inserted
replaced
| 94:14a4d757d683 | 95:31493364b163 |
|---|---|
| 67 function mod:ProcessTradeSkill(i, groupName, temp) | 67 function mod:ProcessTradeSkill(i, groupName, temp) |
| 68 -- Try to retrieve the itemlink, this will be nil if current item is a group instead | 68 -- Try to retrieve the itemlink, this will be nil if current item is a group instead |
| 69 local itemLink = GetTradeSkillItemLink(i); | 69 local itemLink = GetTradeSkillItemLink(i); |
| 70 | 70 |
| 71 if itemLink then | 71 if itemLink then |
| 72 local itemId = addon:GetItemID(itemLink); | 72 local itemId = addon:GetItemId(itemLink); |
| 73 if not itemId then | 73 if not itemId then |
| 74 -- If this isn't an item, it can only be an enchant instead | 74 -- If this isn't an item, it can only be an enchant instead |
| 75 itemId = tonumber(itemLink:match("|Henchant:([-0-9]+)|h")); | 75 itemId = tonumber(itemLink:match("|Henchant:([-0-9]+)|h")); |
| 76 | 76 |
| 77 itemId = addon.scrollIds[itemId]; -- change enchantIds into scrollIds | 77 itemId = addon.scrollIds[itemId]; -- change enchantIds into scrollIds |
