mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-21 23:26:56 +00:00
Update config.lua
Added config migration to reset removed 'Show Only Own Debuffs' setting for Unit Frames and Nameplates
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user