Mercurial > wow > itemauditor
comparison Modules/Crafting.lua @ 153:613fd4bc6999
Ticket 45 - Fixed a bug that caused the crafting window to craft if you turn off all of the deciders.
Fixed an issue where the crafting window would crash if GetTradeSkillReagentItemLink() failed to return a link. This happened with my Wild Turkey
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Sat, 04 Dec 2010 08:41:44 -0800 |
parents | 106c1523777e |
children | d108b0112be3 |
comparison
equal
deleted
inserted
replaced
152:cbb427a8d5a5 | 153:613fd4bc6999 |
---|---|
196 | 196 |
197 -- column 5 is how many should be crafted | 197 -- column 5 is how many should be crafted |
198 if Crafting.filter_have_mats and row[6] == 0 then | 198 if Crafting.filter_have_mats and row[6] == 0 then |
199 return false | 199 return false |
200 end | 200 end |
201 if strfind(row[4], 'VETO: .*') or row[5] == 0 then | 201 if (row[4] and strfind(row[4], 'VETO: .*')) or row[5] == 0 then |
202 return false | 202 return false |
203 end | 203 end |
204 return true | 204 return true |
205 end | 205 end |
206 | 206 |