From b6e1f3cfb2e5f49fb229d2dd0201e54f3dff3338 Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Mon, 30 Mar 2026 17:25:17 +0200 Subject: [PATCH] moved this.lastmax = nil to an other block (pull request) --- modules/castbar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/castbar.lua b/modules/castbar.lua index 09983345..1d7dcb9d 100644 --- a/modules/castbar.lua +++ b/modules/castbar.lua @@ -174,7 +174,6 @@ pfUI:RegisterModule("castbar", "vanilla", function () this.bar.left:SetText(spellname .. rank) this.fadeout = nil this.endTime = endTime - this.lastMax = nil -- reset so SetMinMaxValues is called for this new cast -- set texture if texture and this.showicon then @@ -253,6 +252,7 @@ pfUI:RegisterModule("castbar", "vanilla", function () else this.bar:SetMinMaxValues(1,100) this.bar:SetValue(100) + this.lastMax = nil this.fadeout = 1 this.delay = 0 this.itemIconApplied = nil