Fix IsXWoW
This commit is contained in:
@@ -2207,7 +2207,7 @@ end
|
||||
--todo: see what 'UnitTargetsVehicleInRaidUI' is, there's a call for this in the CompactUnitFrame.lua but zero documentation
|
||||
CheckVehiclePossession = function(self)
|
||||
--this unit is possessing a vehicle?
|
||||
local unitPossessVehicle = (IS_WOW_PROJECT_MAINLINE) and UnitHasVehicleUI(self.unit) or false
|
||||
local unitPossessVehicle = UnitHasVehicleUI(self.unit) or false
|
||||
if (unitPossessVehicle) then
|
||||
if (not self.unitInVehicle) then
|
||||
if (UnitIsUnit("player", self.unit)) then
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user