Quantcast

Innkeeper can have his daughter back

Darthpred [07-21-16 - 07:51]
Innkeeper can have his daughter back
Filename
ElvUI_SLE/modules/minimap/locationbar.lua
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