From d3ece7ac3633d34b27a905ad1a7cd8f06d88f62a Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Fri, 19 Mar 2010 22:15:57 -0400 Subject: [PATCH] In addon:PrintScanResults(): Print the recipe name and ID number whenever any problem is found, not just when there are missing/extra flags. --- Datamine.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Datamine.lua b/Datamine.lua index 376620f..6d74fc5 100644 --- a/Datamine.lua +++ b/Datamine.lua @@ -2356,7 +2356,6 @@ do if #missing_flags > 0 or #extra_flags > 0 then found_problem = true - tinsert(output, string.format("%s: %d", recipe_name, spell_id)) -- Add a string of the missing flag numbers if #missing_flags > 0 then @@ -2427,9 +2426,10 @@ do end if found_problem then + tinsert(output, 1, string.format("%s: %d", recipe_name, spell_id)) return tconcat(output, "\n") else - return nil + return end end end \ No newline at end of file -- 1.7.9.5