Quantcast

In FormatRecipeText(): Made the showing of exclusions work again.

James D. Callahan III [03-22-10 - 19:40]
In FormatRecipeText(): Made the showing of exclusions work again.
Filename
Frame.lua
diff --git a/Frame.lua b/Frame.lua
index 2173088..5590a19 100644
--- a/Frame.lua
+++ b/Frame.lua
@@ -2195,7 +2195,7 @@ do

 		recipe_string = skill_sort and string.format("%s - %s", level_text, recipe_string) or string.format("%s - %s", recipe_string, level_text)

-		if addon.db.profile.exclusionlist[recipe_index] then
+		if addon.db.profile.exclusionlist[recipe_entry.spell_id] then
 			recipe_string = string.format("** %s **", recipe_string)
 		end
 		return recipe_string