From a0570621b3e5e8cddfa564a0c3ec4ec63b362b2e Mon Sep 17 00:00:00 2001 From: Repooc Date: Sat, 16 Aug 2014 09:19:49 -0400 Subject: [PATCH] Fix equipment over due to string compare to number error --- ElvUI_SLE/modules/baginfo.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElvUI_SLE/modules/baginfo.lua b/ElvUI_SLE/modules/baginfo.lua index ac8209a..e46bf1a 100644 --- a/ElvUI_SLE/modules/baginfo.lua +++ b/ElvUI_SLE/modules/baginfo.lua @@ -56,7 +56,7 @@ local function BuildEquipmentMap(clear) name = GetEquipmentSetInfo(i) GetEquipmentSetLocations(name, infoArray) for _, location in pairs(infoArray) do - if location < -1 or location > 1 then + if type(location) == "number" and (location < -1 or location > 1) then player, bank, bags, _, slot, bag = EquipmentManager_UnpackLocation(location) if ((bank or bags) and slot and bag) then key = MapKey(bag, slot) -- 1.7.9.5