Disable while in a vehicle
Adrian L Lange [08-29-14 - 14:39]
Disable while in a vehicle
diff --git a/Molinari.lua b/Molinari.lua
index 0de1976..e7d1d4a 100644
--- a/Molinari.lua
+++ b/Molinari.lua
@@ -62,6 +62,7 @@ function Molinari:OnTooltipSetItem()
if(not itemLink) then return end
if(not IsAltKeyDown()) then return end
if(InCombatLockdown()) then return end
+ if(UnitHasVehicleUI('player')) then return end
if(MailFrame:IsShown()) then return end
if((AuctionFrame and AuctionFrame:IsShown())) then return end