From b4b3de8e796f03193af8babca9687bb5576c5d68 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Thu, 21 Jul 2016 10:51:45 +0300 Subject: [PATCH] Innkeeper can have his daughter back --- ElvUI_SLE/modules/minimap/locationbar.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ElvUI_SLE/modules/minimap/locationbar.lua b/ElvUI_SLE/modules/minimap/locationbar.lua index 38b4add..b0dba23 100644 --- a/ElvUI_SLE/modules/minimap/locationbar.lua +++ b/ElvUI_SLE/modules/minimap/locationbar.lua @@ -15,6 +15,8 @@ local ToggleFrame = ToggleFrame local IsShiftKeyDown = IsShiftKeyDown local ChatEdit_ChooseBoxForSend, ChatEdit_ActivateChat = ChatEdit_ChooseBoxForSend, ChatEdit_ActivateChat local UNKNOWN, GARRISON_LOCATION_TOOLTIP, ITEMS, SPELLS, CLOSE, BACK = UNKNOWN, GARRISON_LOCATION_TOOLTIP, ITEMS, SPELLS, CLOSE, BACK +local DUNGEON_FLOOR_DALARAN1 = DUNGEON_FLOOR_DALARAN1 +local PlayerHasToy = PlayerHasToy LP.CDformats = { ["DEFAULT"] = [[ (%s |TInterface\FriendsFrame\StatusIcon-Away:16|t)]], ["DEFAULT_ICONFIRST"] = [[ (|TInterface\FriendsFrame\StatusIcon-Away:16|t %s)]], @@ -295,7 +297,7 @@ end function LP:ItemList(check) for i = 1, #LP.PortItems do local data = LP.PortItems[i] - if SLE:BagSearch(data.secure.ID) then + if SLE:BagSearch(data.secure.ID) or PlayerHasToy(data.secure.ID)then if check then T.tinsert(LP.MainMenu, {text = ITEMS..":", title = true, nohighlight = true}) return true -- 1.7.9.5