From 4e00530e858fabe92c8f5afe7e65357a8db4096f Mon Sep 17 00:00:00 2001 From: Darthpred Date: Mon, 1 Aug 2016 09:44:23 +0300 Subject: [PATCH] don't change in vehicles --- ElvUI_SLE/modules/equipmanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElvUI_SLE/modules/equipmanager.lua b/ElvUI_SLE/modules/equipmanager.lua index 5dc3d73..4318f54 100644 --- a/ElvUI_SLE/modules/equipmanager.lua +++ b/ElvUI_SLE/modules/equipmanager.lua @@ -90,7 +90,7 @@ local function Equip(event) local spec, equipSet = EM:GetData() if spec ~= nil then --In case you don't have spec local isWrong, trueSet = EM:WrongSet(equipSet, SpecTable[spec], inCombat) - if isWrong then + if isWrong and not T.UnitInVehicle("player") then T.UseEquipmentSet(trueSet) end end -- 1.7.9.5