From 900611697b64b712defcd63d8e7885e388867da9 Mon Sep 17 00:00:00 2001 From: torhal Date: Sat, 19 Sep 2009 23:36:27 +0000 Subject: [PATCH] In addon:PrintScanResults(): Make the "Extra item type" output actually show what the "extra" item types are so we can see if we're keeping that bit of code or not. --- ARLDatamine.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ARLDatamine.lua b/ARLDatamine.lua index 34e9fb5..916fc28 100644 --- a/ARLDatamine.lua +++ b/ARLDatamine.lua @@ -1796,9 +1796,11 @@ do end local count = 0 + local types = "" for k, v in ipairs(ORDERED_ITEM_TYPES) do if scan_data[v] then + types = types .. (count == 0 and "" or ", ") .. k .. " (" .. v ..")" count = count + 1 end end @@ -1806,7 +1808,7 @@ do if count == 0 then tinsert(output, "Missing: item type flag") elseif count > 1 then - tinsert(output, "Extra: item type flag") + tinsert(output, "Extra item types in scan: ".. types) end end -- 1.7.9.5