From a091bea4b908f8250147860e2addeb0ea3668e82 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Sun, 13 Mar 2011 05:25:22 -0500 Subject: [PATCH] Trainer scan: Don't allow a match by name if the recipe has a crafted item ID - this means either the crafted ID is wrong or, in the case of two versions of Glyph of Death Coil, the trainer really doesn't teach it. --- Scanner.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scanner.lua b/Scanner.lua index 71a4ea7..a5852ff 100644 --- a/Scanner.lua +++ b/Scanner.lua @@ -728,7 +728,7 @@ do end end local matching_item = scanned_items[recipe:CraftedItemID()] - local matching_recipe = scanned_recipes[recipe.name] + local matching_recipe = scanned_recipes[recipe.name] and not recipe:CraftedItemID() if matching_item or matching_recipe then current_profession = recipe.profession -- 1.7.9.5