remove PB_FilterGuidEvents as it is handled by nampower now
This commit is contained in:
@@ -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,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user