From fdbe3d8656efad5389138338ee86f602a5323061 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Tue, 26 Jul 2011 00:13:25 -0500 Subject: [PATCH] Only try to grab an icon texture if the recipe has a crafted_item_id --- Interface/List.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Interface/List.lua b/Interface/List.lua index d963052..1f537a1 100644 --- a/Interface/List.lua +++ b/Interface/List.lua @@ -1847,7 +1847,7 @@ do acquire_tip:AddHeader() acquire_tip:SetCell(1, 1, "|c"..select(4, _G.GetItemQualityColor(recipe.quality))..recipe.name, "CENTER", 2) - local recipe_item_texture = _G.select(10, _G.GetItemInfo(recipe.crafted_item_id)) + local recipe_item_texture = recipe.crafted_item_id and _G.select(10, _G.GetItemInfo(recipe.crafted_item_id)) if recipe_item_texture then acquire_tip:AddHeader() -- 1.7.9.5