From 6627c6d83af16ee2c0ca9a90a5d6fad81783f6d4 Mon Sep 17 00:00:00 2001 From: EsreverWoW Date: Mon, 23 Aug 2021 16:21:04 -0500 Subject: [PATCH] [oUF] ResurrectIndicator: Workaround for a BCC PTR bug where UnitHasIncomingResurrection returns true in scenarios it shouldn't --- ShestakUI/Libs/oUF/Elements/ResurrectIndicator.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShestakUI/Libs/oUF/Elements/ResurrectIndicator.lua b/ShestakUI/Libs/oUF/Elements/ResurrectIndicator.lua index 871e588dc..35be296a0 100644 --- a/ShestakUI/Libs/oUF/Elements/ResurrectIndicator.lua +++ b/ShestakUI/Libs/oUF/Elements/ResurrectIndicator.lua @@ -15,7 +15,7 @@ local function Update(self, event, unit) element:PreUpdate() end - local incomingResurrect = UnitHasIncomingResurrection(unit) + local incomingResurrect = UnitIsDeadOrGhost(unit) and UnitHasIncomingResurrection(unit) -- 2.5.2 PTR bug can set UnitHasIncomingResurrection as true when alive if(incomingResurrect) then element:Show() else