buffwatch: only assign scanner to existing buffs

This commit is contained in:
shagu
2020-11-19 15:41:31 +01:00
parent c331a5e248
commit df4794f380
+1 -1
View File
@@ -82,7 +82,7 @@ pfUI:RegisterModule("buffwatch", "vanilla:tbc", function ()
local texture = GetPlayerBuffTexture(bid)
local name
if not skipTooltip then
if not skipTooltip and texture then
scanner:SetPlayerBuff(bid)
name = scanner:Line(1)
end