modules: make nameplates module independent

This commit is contained in:
shagu
2016-12-10 16:55:50 +01:00
parent 8d6407e8bd
commit b592949133
+1 -1
View File
@@ -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