Mercurial > wow > itemauditor
diff 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 |
line wrap: on
line diff
--- a/Modules/Crafting.lua Mon Nov 29 11:25:55 2010 -0800 +++ b/Modules/Crafting.lua Sat Dec 04 08:41:44 2010 -0800 @@ -198,7 +198,7 @@ if Crafting.filter_have_mats and row[6] == 0 then return false end - if strfind(row[4], 'VETO: .*') or row[5] == 0 then + if (row[4] and strfind(row[4], 'VETO: .*')) or row[5] == 0 then return false end return true