remove PB_FilterGuidEvents as it is handled by nampower now

This commit is contained in:
avitasia
2026-02-19 17:41:51 -08:00
parent 30358022fe
commit d4665fcd05
-23
View File
@@ -589,29 +589,6 @@ PerfBoost.cmdtable = {
},
},
spacer_main = {
type = "header",
name = " ",
order = 25,
},
PB_FilterGuidEvents = {
type = "toggle",
name = "Filter GUID Events",
desc = "Filters out generally unnecessary superwow GUID-based events to reduce event spam and improve performance. Blocks events like UNIT_AURA, UNIT_HEALTH, UNIT_MANA when triggered with a guid instead of a string like 'player' or 'raid1', while preserving commonly used guid events like UNIT_COMBAT and UNIT_MODEL_CHANGED.",
order = 30,
get = function()
return GetCVar("PB_FilterGuidEvents") == "1"
end,
set = function(v)
PerfBoost.db.profile.PB_FilterGuidEvents = v
if v == true then
SetCVar("PB_FilterGuidEvents", "1")
else
SetCVar("PB_FilterGuidEvents", "0")
end
end,
},
},
}