Version 2.1.1

willneedit [05-26-18 - 15:47]
Version 2.1.1
 * API bump
 * Fixed detection of CraftStore Summerset 1.75 and higher
Filename
CraftStoreLink.lua
InventoryManager.txt
diff --git a/CraftStoreLink.lua b/CraftStoreLink.lua
index 43a3cca..f18d053 100644
--- a/CraftStoreLink.lua
+++ b/CraftStoreLink.lua
@@ -28,6 +28,7 @@ function CSL:hasCSAddon()

 		-- This variable is late initialized, update if needed
 		if hasCS == "old" then
+			-- Legacy CS. May be gone soon.
 			Used_CSA = Used_CS.account
 		elseif hasCS == "new" then
 			Used_CSA = Used_CS.Account
@@ -38,10 +39,11 @@ function CSL:hasCSAddon()

 	if CS then
 		Used_CS  = CS
-		Used_CSA = Used_CS.account
-		CHAT_SYSTEM:AddMessage(GetString(IM_INIT_DETECTED_CS_OLD))
-		hasCS = "old"
+		Used_CSA = Used_CS.Account
+		CHAT_SYSTEM:AddMessage(GetString(IM_INIT_DETECTED_CS_NEW))
+		hasCS = "new"
 	elseif CraftStoreFixedAndImprovedLongClassName then
+		-- In case someone is lazy updating past 1.74
 		Used_CS  = CraftStoreFixedAndImprovedLongClassName
 		Used_CSA = Used_CS.Account
 		CHAT_SYSTEM:AddMessage(GetString(IM_INIT_DETECTED_CS_NEW))
diff --git a/InventoryManager.txt b/InventoryManager.txt
index 1281941..69ca7be 100644
--- a/InventoryManager.txt
+++ b/InventoryManager.txt
@@ -1,8 +1,8 @@
 ## Title: InventoryManager
-## APIVersion: 100019
+## APIVersion: 100023
 ## OptionalDependsOn: LibAddonMenu-2.0
 ## SavedVariables: IMSavedVars
-## Version: 2.1.0
+## Version: 2.1.1
 ## Author: iwontsay
 ## Description: iwontsay's Inventory Manager