Mercurial > wow > prospect-me
comparison ProspectMe.lua @ 40:97fe62d4385d Prospect Me 2
Fix for when too many containers are locked by the UI simultaneously. This could happen, for example, when using the built in "Clean Up Bags" feature.
author | Vynn <mischivin@gmail.com> |
---|---|
date | Thu, 10 Nov 2016 16:09:28 -0500 |
parents | 31cf11210635 |
children | b8686c36477f |
comparison
equal
deleted
inserted
replaced
39:b9c2260bf1b4 | 40:97fe62d4385d |
---|---|
184 ProspectMe.GetResults(event, ...) | 184 ProspectMe.GetResults(event, ...) |
185 end | 185 end |
186 ProspectMeDebug = Results | 186 ProspectMeDebug = Results |
187 end | 187 end |
188 if event == "ITEM_LOCKED" then | 188 if event == "ITEM_LOCKED" then |
189 local bag, slot = ... | 189 if ParseResults then |
190 ContainerID = select(10, GetContainerItemInfo(bag, slot)) | 190 local bag, slot = ... |
191 ContainerID = select(10, GetContainerItemInfo(bag, slot)) | |
192 end | |
191 end | 193 end |
192 if event == "TRADE_SKILL_LIST_UPDATE" or event == "LOOT_CLOSED" then | 194 if event == "TRADE_SKILL_LIST_UPDATE" or event == "LOOT_CLOSED" then |
193 if ParseResults then | 195 if ParseResults then |
194 ProspectMe.EndCapture() | 196 ProspectMe.EndCapture() |
195 end | 197 end |