View Single Post
02-08-17, 09:44 AM   #5
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,910
The alerts involve the in-game calendar, so
The calendar is LoadOnDemand so won't actually be loaded and it's functions/data available until after the user clicks the calendar button.

You could try at PLAYER_ENTERING_WORLD:

Code:
if not IsAddOnLoaded("Blizzard_Calendar") then
	UIParentLoadAddOn("Blizzard_Calendar")
end
--- Your code goes here
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 02-08-17 at 11:56 AM.
  Reply With Quote