Version 1.2.2

willneedit [03-31-17 - 20:47]
Version 1.2.2
 * Hotfix: Respect FCOIS Locking on Deconstruction
Filename
InventoryManager.txt
Modules/Extractor.lua
diff --git a/InventoryManager.txt b/InventoryManager.txt
index a31ce90..f9a828d 100644
--- a/InventoryManager.txt
+++ b/InventoryManager.txt
@@ -2,7 +2,7 @@
 ## APIVersion: 100018
 ## OptionalDependsOn: LibAddonMenu-2.0
 ## SavedVariables: IMSavedVars
-## Version: 1.2.1
+## Version: 1.2.2
 ## Author: iwontsay
 ## Description: iwontsay's Inventory Manager

diff --git a/Modules/Extractor.lua b/Modules/Extractor.lua
index 948ea4e..dee47a7 100644
--- a/Modules/Extractor.lua
+++ b/Modules/Extractor.lua
@@ -77,7 +77,7 @@ local function filter_for_deconstruction(tradeskill, data)

 		if not CanItemBeSmithingExtractedOrRefined(data.bagId, data.slotId, ts) then return false end

-		if IM.FCOISL:IsProtectedAction(action, data.bagId, data.slotId, ts == CRAFTING_TYPE_ENCHANTING) then return false end
+		if IM.FCOISL:IsProtectedAction(data.action, data.bagId, data.slotId, ts == CRAFTING_TYPE_ENCHANTING) then return false end

 		return true
 end