From 33358f7ecfc280c602821acebdf097e41a179dec Mon Sep 17 00:00:00 2001 From: Darthpred Date: Fri, 23 May 2014 02:00:35 +0400 Subject: [PATCH] Fix for "attempt to index field 'ItemBindString' (a nil value)" Inspect seems to actually work now --- ElvUI_SLE/modules/characterframe/core.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ElvUI_SLE/modules/characterframe/core.lua b/ElvUI_SLE/modules/characterframe/core.lua index 7719c5e..34ae271 100644 --- a/ElvUI_SLE/modules/characterframe/core.lua +++ b/ElvUI_SLE/modules/characterframe/core.lua @@ -42,6 +42,13 @@ SLArmoryConstants = { ['504'] = 12, ['505'] = 16, }, + ['ItemBindString'] = { -- Usually transmogrify string is located upper than bind string so we need to check this string for adding a transmogrify string in tooltip. + [ITEM_BIND_ON_EQUIP] = true, + [ITEM_BIND_ON_PICKUP] = true, + [ITEM_BIND_TO_ACCOUNT] = true, + [ITEM_BIND_TO_BNETACCOUNT] = true + }, + ['CanTransmogrifySlot'] = { ['HeadSlot'] = true, ['ShoulderSlot'] = true, -- 1.7.9.5