From 9d6aca9b43880eea74ab2eb1c87dd9ec36aedb5b Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Wed, 18 Feb 2026 14:13:58 +0100 Subject: [PATCH] removed dead code removed dead code --- modules/castbar.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/castbar.lua b/modules/castbar.lua index e6aee4a6..d925da9e 100644 --- a/modules/castbar.lua +++ b/modules/castbar.lua @@ -178,9 +178,7 @@ pfUI:RegisterModule("castbar", "vanilla", function () local useItemName = nil if pfUI.libdebuff_casts or pfUI.libdebuff_item_icons then local castGuid = nil - if this.unitstr == "player" and GetPlayerGUID then - castGuid = GetPlayerGUID() - elseif this.unitstr and UnitExists then + if this.unitstr and UnitExists then local _, guid = UnitExists(this.unitstr) castGuid = guid end