nameplates: add option to only show target castbar

This commit is contained in:
shagu
2023-07-04 09:53:29 +02:00
parent 580eb9a6ac
commit d464cd4289
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -865,7 +865,7 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function ()
end
-- castbar update
if C.nameplates["showcastbar"] == "1" then
if C.nameplates["showcastbar"] == "1" and ( C.nameplates["targetcastbar"] == "0" or target ) then
local cast, nameSubtext, text, texture, startTime, endTime, isTradeSkill = UnitCastingInfo(target and "target" or name)
if not cast then