diff --git a/Omen.lua b/Omen.lua index 2cbc110..b5b7028 100644 --- a/Omen.lua +++ b/Omen.lua @@ -474,7 +474,7 @@ function Omen:PLAYER_LOGIN() tt:AddLine("|cffffff00" .. L["Right-click|r to open the options menu"]) end, }) - if LDBIcon then + if LDBIcon and not IsAddOnLoaded("Broker2FuBar") and not IsAddOnLoaded("FuBar") then LDBIcon:Register("Omen", OmenLauncher, db.MinimapIcon) end end @@ -563,7 +563,7 @@ function Omen:OnProfileChanged(event, database, newProfileKey) self:UpdateFuBarSettings() -- These remainder settings were not placed in functions -- and were just updated directly from the config code. - if LDBIcon then + if LDBIcon and not IsAddOnLoaded("Broker2FuBar") and not IsAddOnLoaded("FuBar") then LDBIcon:Refresh("Omen", db.MinimapIcon) end if db.ShowWith.HideWhenOOC then @@ -1786,7 +1786,7 @@ local options = { db.MinimapIcon.hide = not value if value then LDBIcon:Show("Omen") else LDBIcon:Hide("Omen") end end, - disabled = function() return not LDBIcon end, + hidden = function() return not LDBIcon or IsAddOnLoaded("Broker2FuBar") or IsAddOnLoaded("FuBar") end, }, IgnorePlayerPets = { type = "toggle",