From 72217f7ca7a98ec3cfe43c75ddaea713d0866f9c Mon Sep 17 00:00:00 2001 From: Darthpred Date: Mon, 1 Aug 2016 09:44:50 +0300 Subject: [PATCH] Don't show engineer toys on other toons --- ElvUI_SLE/modules/minimap/locationbar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElvUI_SLE/modules/minimap/locationbar.lua b/ElvUI_SLE/modules/minimap/locationbar.lua index 36c5f81..db0351d 100644 --- a/ElvUI_SLE/modules/minimap/locationbar.lua +++ b/ElvUI_SLE/modules/minimap/locationbar.lua @@ -309,7 +309,7 @@ end function LP:ItemList(check) for i = 1, #LP.PortItems do local data = LP.PortItems[i] - if SLE:BagSearch(data.secure.ID) or PlayerHasToy(data.secure.ID)then + if (SLE:BagSearch(data.secure.ID) or PlayerHasToy(data.secure.ID)) and T.IsUsableItem(data.secure.ID) then if check then T.tinsert(LP.MainMenu, {text = ITEMS..":", title = true, nohighlight = true}) return true -- 1.7.9.5