From 179a90eb287d8d8c6ec94658bcce2079a4d2e1ff Mon Sep 17 00:00:00 2001 From: Vollmer Date: Thu, 29 Aug 2024 23:36:17 +0200 Subject: [PATCH] check if HealthText is enabled when setting format before running updates --- Widgets/Texts/HealthText.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/Widgets/Texts/HealthText.lua b/Widgets/Texts/HealthText.lua index b203e16..d25cd56 100644 --- a/Widgets/Texts/HealthText.lua +++ b/Widgets/Texts/HealthText.lua @@ -320,6 +320,7 @@ local function HealthText_SetFormat(self, format) self.SetValue = SetHealth_Custom end + if not self.enabled then return end self:Enable() end