View Single Post
05-27-21, 05:30 PM   #8
sezz
A Chromatic Dragonspawn
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 158
GetNumFactions() returns 0 at the time you're calling it, C_Covenants.GetActiveCovenantID() aswell.

Maybe you could get all the faction data in OnEnable instead? I think AceAddon's OnEnable is PLAYER_LOGIN, which should be fine (you also avoid running code that isn't needed when the user has disabled the addon ingame).
  Reply With Quote