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