More TWW/11.0.2 compatibility

I don't have beta access so I can't test this yet, but this should catch everything in the Deprecated_11_0_0 file in wow's official ui source as well as some stuff not mentioned but reported by users.
This commit is contained in:
Parnic
2024-07-21 13:51:17 -05:00
parent d451969177
commit 9b063bed63
17 changed files with 194 additions and 7 deletions

View File

@ -3,6 +3,11 @@ IceTargetHealth = IceCore_CreateClass(IceUnitBar)
local IceHUD = _G.IceHUD
local IsAddOnLoaded = IsAddOnLoaded
if not IsAddOnLoaded and C_AddOns then
IsAddOnLoaded = C_AddOns.IsAddOnLoaded
end
IceTargetHealth.prototype.color = nil
IceTargetHealth.prototype.determineColor = true
IceTargetHealth.prototype.registerEvents = true