Version 1.3.1

willneedit [04-04-17 - 16:58]
Version 1.3.1
 * Fixed recipe tracking for furnishing blueprints
Filename
CraftStoreLink.lua
InventoryManager.txt
diff --git a/CraftStoreLink.lua b/CraftStoreLink.lua
index 5209a9a..fb98927 100644
--- a/CraftStoreLink.lua
+++ b/CraftStoreLink.lua
@@ -86,7 +86,7 @@ function CSL:IsCookRecipeNeeded(link)
 	local id, need = SplitLink(link,3), { }
 	if id then
 		for char,data in pairs(Used_CSA.cook.knowledge) do
-			if not data[id] and Used_CSA.cook.tracking[char] then
+			if data[id] ~= nil and not data[id] and Used_CSA.cook.tracking[char] then
 				need[char] = true
 				need[#need + 1] = char
 			end
@@ -104,7 +104,8 @@ function CSL:IsBlueprintNeeded(link)

 	if id then
 		for char,data in pairs(Used_CSA.furnisher.knowledge) do
-			if not data[id] and Used_CSA.furnisher.tracking[char] then
+			-- Workaround for CS fixed and Improved: It still has a common switch for cooking and furniture recipes
+			if data[id] ~= nil and not data[id] and (Used_CSA.cook.tracking[char] or Used_CSA.furnisher.tracking[char]) then
 				need[char] = true
 				need[#need + 1] = char
 			end
diff --git a/InventoryManager.txt b/InventoryManager.txt
index 479fcf4..f38a969 100644
--- a/InventoryManager.txt
+++ b/InventoryManager.txt
@@ -2,7 +2,7 @@
 ## APIVersion: 100018
 ## OptionalDependsOn: LibAddonMenu-2.0
 ## SavedVariables: IMSavedVars
-## Version: 1.3.0
+## Version: 1.3.1
 ## Author: iwontsay
 ## Description: iwontsay's Inventory Manager