Fix IsXWoW

This commit is contained in:
andrew6180
2024-06-10 11:38:50 -07:00
parent b4fb6ed2ae
commit 5990323b98
3 changed files with 3 additions and 7 deletions
@@ -1,9 +1,5 @@
--do not load if this is a classic version of the game
if (DetailsFramework.IsTBCWow() or DetailsFramework.IsWotLKWow() or DetailsFramework.IsClassicWow() or DetailsFramework.IsCataWow()) then
return
end
local Details = _G.Details
local GetSpellInfo = Details.GetSpellInfo
local UnitAura = UnitAura
@@ -409,8 +409,8 @@ local function CreatePluginFrames (data)
}
local healthBarSettingsOverride = {
ShowHealingPrediction = not DetailsFramework.IsTBCWow(),
ShowShields = not DetailsFramework.IsTBCWow(),
ShowHealingPrediction = false,
ShowShields = true,
}
local castBarSettingsOverride = {