From 56e9dcb8c0d921155b663f1d9815e0b4cc655fcd Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Sat, 4 Apr 2026 00:50:37 +0200 Subject: [PATCH] Update config.lua Added config migration to reset removed 'Show Only Own Debuffs' setting for Unit Frames and Nameplates --- api/config.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/api/config.lua b/api/config.lua index 49b2775e..7a19135b 100644 --- a/api/config.lua +++ b/api/config.lua @@ -1367,5 +1367,20 @@ function pfUI:MigrateConfig() end + -- Remove "Show only own debuffs" from unitframes and nameplates + -- (feature was removed; only Target Debuff Bar in buffwatch keeps it) + if pfUI_config.nameplates then + pfUI_config.nameplates.selfdebuff = "0" + end + if pfUI_config.unitframes then + for _, unit in pairs({"target", "targettarget", "targettargettarget", + "focus", "focustarget", "pet", "pettarget", + "group", "raid", "player"}) do + if pfUI_config.unitframes[unit] and pfUI_config.unitframes[unit].selfdebuff then + pfUI_config.unitframes[unit].selfdebuff = "0" + end + end + end + pfUI_config.version = pfUI.version.string end \ No newline at end of file