Mercurial > wow > inventory
comparison Queue.lua @ 75:2127ab01ed4a
Overriding toggle boxes should no longer give errors.
Adding / removing items from config groups works again.
Fixed full support for the Cauldron crafting addon.
No longer trying to queue crafting items when no tradeskill window is open. This would cause errors.
author | Zerotorescue |
---|---|
date | Sat, 25 Dec 2010 15:33:40 +0100 |
parents | fee06221176f |
children |
comparison
equal
deleted
inserted
replaced
74:8d11fc88ecab | 75:2127ab01ed4a |
---|---|
41 return; | 41 return; |
42 end | 42 end |
43 | 43 |
44 local temp = {}; | 44 local temp = {}; |
45 | 45 |
46 -- Go through all trade skills for the profession | 46 local tradeskillName, currentLevel, maxLevel = GetTradeSkillLine(); |
47 for i = 1, GetNumTradeSkills() do | 47 |
48 -- Process every single tradeskill | 48 if tradeskillName ~= "UNKNOWN" then |
49 self:ProcessTradeSkill(i, groupName, temp); | 49 -- Go through all trade skills for the profession |
50 for i = 1, GetNumTradeSkills() do | |
51 -- Process every single tradeskill | |
52 self:ProcessTradeSkill(i, groupName, temp); | |
53 end | |
50 end | 54 end |
51 | 55 |
52 if addon.db.profile.groups[groupName].items then | 56 if addon.db.profile.groups[groupName].items then |
53 for itemId, _ in pairs(addon.db.profile.groups[groupName].items) do | 57 for itemId, _ in pairs(addon.db.profile.groups[groupName].items) do |
54 if not temp[itemId] then | 58 if not temp[itemId] then |