From 199b4466c6f155a67dcf724d511dc5880beb6736 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Mon, 22 Mar 2010 18:04:20 -0400 Subject: [PATCH] In Player:MarkExclusions(): Ignore the recipe's visibility - it's handled in CanDisplayRecipe() now. --- Player.lua | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Player.lua b/Player.lua index 38c559e..d6556c0 100644 --- a/Player.lua +++ b/Player.lua @@ -71,16 +71,10 @@ function Player:MarkExclusions() local known_count = 0 local unknown_count = 0 - for i in pairs(exclusion_list) do - local recipe = recipe_list[i] + for spell_id in pairs(exclusion_list) do + local recipe = recipe_list[spell_id] - -- We may have an item in the exclusion list that has not been scanned yet - -- check if the entry exists in DB first if recipe then - if ignored then - recipe.is_visible = false - end - local tmp_prof = GetSpellInfo(recipe.profession) if not recipe.is_known and tmp_prof == profession then -- 1.7.9.5