PLAYER_LOGIN seems to work better and I wasn't able to trigger the error with using that instead, so thanks for that
Is there any way that PLAYER_LOGIN could be before ADDON_LOADED in extreme situations? My code right now relies on ADDON_LOADED going first.