In Player:MarkExclusions(): Ignore the recipe's visibility - it's handled in CanDisplayRecipe() now.
James D. Callahan III [03-22-10 - 22:04]
In Player:MarkExclusions(): Ignore the recipe's visibility - it's handled in CanDisplayRecipe() now.
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