From b0b74bf51fe312a6bdd36375e636a409393d45c3 Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 30 Aug 2019 20:49:11 +0200 Subject: [PATCH] nameplates: disable game castbars --- modules/nameplates.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index 1d336349..f05f7efb 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -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