From 3f35ea6a93284f72b97682024402b3436ed91fdb Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Tue, 8 Mar 2011 00:05:48 -0600 Subject: [PATCH] Debug duplicate recipes instead of printing them to the ChatFrame. --- Recipe.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Recipe.lua b/Recipe.lua index 3e43d7e..71ba043 100644 --- a/Recipe.lua +++ b/Recipe.lua @@ -60,7 +60,7 @@ function addon:AddRecipe(spell_id, skill_level, item_id, quality, profession, sp if recipe_list[spell_id] then --@alpha@ - self:Print("Duplicate recipe: "..recipe_list[spell_id].profession.." "..tostring(spell_id).." "..recipe_list[spell_id].name) + self:Debug("Duplicate recipe: %d - %s (%s)", spell_id, recipe_list[spell_id].name, recipe_list[spell_id].profession) --@end-alpha@ return end -- 1.7.9.5