mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- removed the last remnants of Ace2 (AceOO-2.0 and AceLibrary) thanks to a huge amount of help from ckknight for metatables
This commit is contained in:
@ -1,6 +1,4 @@
|
||||
local AceOO = AceLibrary("AceOO-2.0")
|
||||
|
||||
local TargetTargetHealth = AceOO.Class(IceTargetHealth)
|
||||
local TargetTargetHealth = IceCore_CreateClass(IceTargetHealth)
|
||||
TargetTargetHealth.prototype.scheduledEvent = nil
|
||||
|
||||
local SelfDisplayModeOptions = {"Color as SelfColor", "Hide", "Normal"}
|
||||
@ -151,7 +149,7 @@ function TargetTargetHealth.prototype:Update(unit)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
if self.moduleSettings.selfDisplayMode == "Hide" then
|
||||
self:Show(UnitExists(self.unit))
|
||||
end
|
||||
|
Reference in New Issue
Block a user