From bb2576f65006435ef352cff6752da3c553c509f6 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Sat, 12 Mar 2011 04:31:15 -0600 Subject: [PATCH] When building RECIPE_ITEM_TO_SPELL_MAP, issue a debug print for recipes which have the Vendor filter set but do not have a recipe item ID set. --- Scanner.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Scanner.lua b/Scanner.lua index 0b74140..084b6c9 100644 --- a/Scanner.lua +++ b/Scanner.lua @@ -1079,6 +1079,8 @@ do if recipe_item_id then RECIPE_ITEM_TO_SPELL_MAP[recipe_item_id] = spell_id + elseif recipe:HasFilter("common1", "VENDOR") then + self:Debug("Recipe %d (%s) has Vendor filter flag without a recipe item ID.", spell_id, recipe.name) end end end -- 1.7.9.5