mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-01 03:19:59 +00:00
performance update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
pfUI:RegisterModule("nameplates", "vanilla:tbc", function ()
|
||||
pfUI:RegisterModule("nameplates", "vanilla", function ()
|
||||
-- disable original castbars
|
||||
pcall(SetCVar, "ShowVKeyCastbar", 0)
|
||||
|
||||
@@ -1115,7 +1115,6 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function ()
|
||||
|
||||
if pfUI.client <= 11200 then
|
||||
-- handle vanilla only settings
|
||||
-- due to the secured lua api, those settings can't be applied to TBC and later.
|
||||
local hookOnConfigChange = nameplates.OnConfigChange
|
||||
nameplates.OnConfigChange = function(self)
|
||||
hookOnConfigChange(self)
|
||||
|
||||
Reference in New Issue
Block a user