Version 2.4.3

willneedit [02-26-20 - 16:41]
Version 2.4.3

 * API bump
 * Now recognizing the distinction between CraftStore's "Need Recipes" and "Need Blueprints" flags
Filename
CraftStoreLink.lua
InventoryManager.txt
diff --git a/CraftStoreLink.lua b/CraftStoreLink.lua
index e7b3b5d..5788870 100644
--- a/CraftStoreLink.lua
+++ b/CraftStoreLink.lua
@@ -146,9 +146,14 @@ function CSL:isUnknown(itemLink)
 		return false, false
 	end

-	itemType, _ = GetItemLinkItemType(itemLink)
+	itemType, specItemType = GetItemLinkItemType(itemLink)
 	if itemType == ITEMTYPE_RECIPE then
-		chars = CSL:IsRecipeNeeded(itemLink)
+		if specItemType == SPECIALIZED_ITEMTYPE_RECIPE_STANDARD_DRINK or
+			specItemType == SPECIALIZED_ITEMTYPE_RECIPE_STANDARD_FOOD then
+			chars = CSL:IsCookingRecipeNeeded(itemLink)
+		else
+			chars = CSL:IsBlueprintNeeded(itemLink)
+		end
 	elseif itemType == ITEMTYPE_RACIAL_STYLE_MOTIF then
 		chars = CSL:IsStyleNeeded(itemLink)
 	elseif itemType == ITEMTYPE_WEAPON or itemType == ITEMTYPE_ARMOR then
diff --git a/InventoryManager.txt b/InventoryManager.txt
index a1e4da3..a2cccb9 100644
--- a/InventoryManager.txt
+++ b/InventoryManager.txt
@@ -1,8 +1,8 @@
 ## Title: InventoryManager
-## APIVersion: 100029
+## APIVersion: 100030
 ## OptionalDependsOn: LibAddonMenu-2.0
 ## SavedVariables: IMSavedVars
-## Version: 2.4.2
+## Version: 2.4.3
 ## Author: iwontsay & iFedix
 ## Description: Automatically stash, retrieve and dispose your items with custom rules!