Mercurial > wow > itemauditor
changeset 127:4f26dc55455d
Fixed Snatch. It broke when I converted haveMaterials from a bool to the number of items that can be created. (No changelog entry because that hasn't been released yet)
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Thu, 02 Sep 2010 23:29:17 -0700 |
parents | e8d3c299542c |
children | 451d8a19edea |
files | Modules/AuctionHouse.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Modules/AuctionHouse.lua Thu Sep 02 22:34:22 2010 -0700 +++ b/Modules/AuctionHouse.lua Thu Sep 02 23:29:17 2010 -0700 @@ -107,7 +107,7 @@ local snatchList = {} local function Export(data) - if not data.haveMaterials then + if data.haveMaterials < data.queue then for id, reagent in pairs(data.reagents) do if reagent.need > 0 and not snatchList[reagent.link] then snatchList[reagent.link] = true