From 72bf76305ab8852117582dbe6e8af2340512203d Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 7 Oct 2016 18:33:35 +0200 Subject: [PATCH] tooltip: correct healthbar color for npcs --- modules/tooltip.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tooltip.lua b/modules/tooltip.lua index d13b0650..e9d772a5 100644 --- a/modules/tooltip.lua +++ b/modules/tooltip.lua @@ -84,7 +84,7 @@ pfUI:RegisterModule("tooltip", function () local targetReaction = UnitReaction("player",unit .. "target") local _, class = UnitClass(unit) local guild = GetGuildInfo(unit) - local reaction = UnitReaction("player", unit) + local reaction = UnitReaction(unit, "player") local pvptitle = gsub(pvpname or name," "..name, "", 1) local hp = UnitHealth(unit) local hpm = UnitHealthMax(unit)