nameplates: disable game castbars

This commit is contained in:
shagu
2019-08-30 20:49:11 +02:00
parent 4fb42aae51
commit b0b74bf51f
+3
View File
@@ -5,6 +5,9 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function ()
local glowr, glowg, glowb, glowa = GetStringColor(C.nameplates.glowcolor)
local hptexture = pfUI.media[C.nameplates.healthtexture]
-- disable original castbars
pcall(SetCVar, "ShowVKeyCastbar", 0)
pfUI.nameplates = CreateFrame("Frame", nil, UIParent)
-- catch all nameplates