diff --git a/elements/health.lua b/elements/health.lua index b07b20e6..5def924f 100644 --- a/elements/health.lua +++ b/elements/health.lua @@ -348,11 +348,10 @@ local function Disable(self) self:UnregisterEvent('UNIT_FACTION', ColorPath) self:UnregisterEvent('UNIT_FLAGS', ColorPath) self:UnregisterEvent('UNIT_THREAT_LIST_UPDATE', ColorPath) + self:UnregisterEvent('UNIT_MAX_HEALTH_MODIFIERS_CHANGED', Path) if(element.TempLoss) then element.TempLoss:Hide() - - self:UnregisterEvent('UNIT_MAX_HEALTH_MODIFIERS_CHANGED', Path) end end end