mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-24 13:00:50 +00:00
buffwatch: remove text on unknown buff durations
This commit is contained in:
@@ -127,7 +127,7 @@ pfUI:RegisterModule("buffwatch", "vanilla:tbc", function ()
|
|||||||
this.bar:SetValue(remaining > 0 and remaining or 0)
|
this.bar:SetValue(remaining > 0 and remaining or 0)
|
||||||
|
|
||||||
if ( this.tick or 1) > GetTime() then return else this.tick = GetTime() + .1 end
|
if ( this.tick or 1) > GetTime() then return else this.tick = GetTime() + .1 end
|
||||||
this.time:SetText(remaining > 0 and GetColoredTimeString(remaining) or "N/A")
|
this.time:SetText(remaining > 0 and GetColoredTimeString(remaining) or "")
|
||||||
end
|
end
|
||||||
|
|
||||||
local function StatusBarRefreshParent()
|
local function StatusBarRefreshParent()
|
||||||
|
|||||||
Reference in New Issue
Block a user