We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bee4ea2 commit 7699e33Copy full SHA for 7699e33
ClassicCastbars/ClassicCastbars.lua
@@ -276,8 +276,12 @@ function ClassicCastbars:NAME_PLATE_UNIT_ADDED(namePlateUnitToken)
276
277
-- Hide Blizz castbar
278
if not plateCastbar.ClassicCastbarsHooked then
279
- plateCastbar:HookScript("OnShow", BlizzNameplateCastbar_OnShow)
280
plateCastbar.ClassicCastbarsHooked = true
+ plateCastbar:HookScript("OnShow", BlizzNameplateCastbar_OnShow)
281
+ end
282
+ if ClassicCastbars.db.nameplate.enabled then
283
+ -- hide immediately incase its already shown
284
+ plateCastbar:Hide()
285
end
286
287
0 commit comments