In addon:PrintScanResults(): If the recipe is flagged Trainer AND it doesn't have a physical recipe item, warn if its quality isn't Common.
James D. Callahan III [04-12-10 - 02:37]
In addon:PrintScanResults(): If the recipe is flagged Trainer AND it doesn't have a physical recipe item, warn if its quality isn't Common.
diff --git a/Scanner.lua b/Scanner.lua
index c1205b5..115cdd3 100644
--- a/Scanner.lua
+++ b/Scanner.lua
@@ -1981,7 +1981,7 @@ do
tinsert(output, string.format(" Extra Specialty: %s", recipe.specialty))
end
- if recipe:IsFlagged("common1", "TRAINER") and recipe.quality ~= private.item_qualities["COMMON"] then
+ if recipe:IsFlagged("common1", "TRAINER") and not SPELL_TO_RECIPE_MAP[recipe.spell_id] and recipe.quality ~= private.item_qualities["COMMON"] then
local QS = private.item_quality_names
found_problem = true