removed dead code

removed dead code
This commit is contained in:
Meow
2026-02-18 14:13:58 +01:00
parent f18d732991
commit 9d6aca9b43
+1 -3
View File
@@ -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