changed character equip ignoring key - checking for ID now

manavortex [02-20-18 - 08:47]
changed character equip ignoring key - checking for ID now
Filename
IIfA/IIfASettingsAdapter.lua
diff --git a/IIfA/IIfASettingsAdapter.lua b/IIfA/IIfASettingsAdapter.lua
index 41458b2..d69a1f7 100644
--- a/IIfA/IIfASettingsAdapter.lua
+++ b/IIfA/IIfASettingsAdapter.lua
@@ -8,10 +8,14 @@ local function GetRealCollectibleName(collectibleId)
 end

 function IIfA:IsCharacterInventoryIgnored(ignoreChar)
+	if not ignoreChar then return end
+	ignoreChar = IIfA.CharNameToId[ignoreChar] or ignoreChar
 	return IIfA.data.ignoredCharEquipment[ignoreChar]
 end

 function IIfA:IsCharacterEquipIgnored(ignoreChar)
+	if not ignoreChar then return end
+	ignoreChar = IIfA.CharNameToId[ignoreChar] or ignoreChar
 	return IIfA.data.ignoredCharInventories[ignoreChar]
 end