Skip to content

Commit

Permalink
sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
wardz committed Sep 9, 2024
1 parent bee4ea2 commit 7699e33
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ClassicCastbars/ClassicCastbars.lua
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,12 @@ function ClassicCastbars:NAME_PLATE_UNIT_ADDED(namePlateUnitToken)

-- Hide Blizz castbar
if not plateCastbar.ClassicCastbarsHooked then
plateCastbar:HookScript("OnShow", BlizzNameplateCastbar_OnShow)
plateCastbar.ClassicCastbarsHooked = true
plateCastbar:HookScript("OnShow", BlizzNameplateCastbar_OnShow)
end
if ClassicCastbars.db.nameplate.enabled then
-- hide immediately incase its already shown
plateCastbar:Hide()
end
end

Expand Down

0 comments on commit 7699e33

Please sign in to comment.