Mercurial > wow > itemauditor
changeset 154:090e466fd956 Release 2010-12-09
Fixed a bug that caused an error if you had a crafting rule that doesn't include a bonus.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Thu, 09 Dec 2010 22:03:48 -0800 |
parents | 613fd4bc6999 |
children | 802abe9b0b4c |
files | CHANGELOG.txt Modules/CraftingRules.lua |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGELOG.txt Sat Dec 04 08:41:44 2010 -0800 +++ b/CHANGELOG.txt Thu Dec 09 22:03:48 2010 -0800 @@ -1,3 +1,7 @@ +2010-12-04 Asa Ayers <Asa.Ayers@Gmail.com> + +- Fixed a bug that caused an error if you had a crafting rule that doesn't include a bonus. + 2010-12-04 Asa Ayers <Asa.Ayers@Gmail.com> - Ticket 45 - Fixed a bug that caused the crafting window to craft if you turn off all of the deciders.
--- a/Modules/CraftingRules.lua Sat Dec 04 08:41:44 2010 -0800 +++ b/Modules/CraftingRules.lua Thu Dec 09 22:03:48 2010 -0800 @@ -211,7 +211,7 @@ local function runRule(rule, itemName, itemID, data) local searches = {strsplit(',', rule.search:upper())} local bonus = 0 - if data.count == 0 then + if data.count == 0 and rule.bonus_queue then bonus = rule.bonus_queue end