From b592949133136ec64b21657ac54c15d514e2e320 Mon Sep 17 00:00:00 2001 From: shagu Date: Sat, 10 Dec 2016 16:55:50 +0100 Subject: [PATCH] modules: make nameplates module independent --- modules/nameplates.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index 6059d0b9..316702bf 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -214,7 +214,7 @@ pfUI:RegisterModule("nameplates", function () end -- show castbar - if pfUI_config.nameplates["showcastbar"] == "1" and pfUI.castbar.target.casterDB[name:GetText()] ~= nil and pfUI.castbar.target.casterDB[name:GetText()]["cast"] ~= nil then + if pfUI.castbar and pfUI_config.nameplates["showcastbar"] == "1" and pfUI.castbar.target.casterDB[name:GetText()] ~= nil and pfUI.castbar.target.casterDB[name:GetText()]["cast"] ~= nil then -- create frames if healthbar.castbar == nil then