From 66452741e96fa3f9bbd7269fce7b0679556e4509 Mon Sep 17 00:00:00 2001 From: shagu Date: Wed, 18 Apr 2018 08:50:55 +0200 Subject: [PATCH] buff: fix bad unitstr on player --- api/unitframes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/unitframes.lua b/api/unitframes.lua index 25f46b54..6d47cb88 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -408,7 +408,7 @@ function pfUI.uf:UpdateConfig() 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