mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 18:36:01 +00:00
buffwatch: allow to show buffs with zero duration
This commit is contained in:
@@ -230,8 +230,9 @@ pfUI:RegisterModule("buffwatch", "vanilla:tbc", function ()
|
||||
-- reinitialize all active buffs
|
||||
for i=1,32 do
|
||||
local timeleft, texture, name, stacks = GetBuffData(frame.unit, i, frame.type)
|
||||
timeleft = timeleft or 0
|
||||
|
||||
if texture and name and name ~= "" and BuffIsVisible(frame.config, name) and timeleft then
|
||||
if texture and name and name ~= "" and BuffIsVisible(frame.config, name) then
|
||||
frame.buffs[i][1] = timeleft
|
||||
frame.buffs[i][2] = i
|
||||
frame.buffs[i][3] = name
|
||||
|
||||
Reference in New Issue
Block a user