buff: fix bad unitstr on player buffs

This commit is contained in:
shagu
2018-05-26 01:42:14 +02:00
parent 40d19fc606
commit 8d8869386f
+1 -1
View File
@@ -157,7 +157,7 @@ pfUI:RegisterModule("buff", function ()
end
else
if not UnitHasBuff("player", texture) then
playerlist = playerlist .. ( not first and ", " or "") .. GetUnitColor(unitstr) .. UnitName("player") .. "|r"
playerlist = playerlist .. ( not first and ", " or "") .. GetUnitColor("player") .. UnitName("player") .. "|r"
first = nil
end