View Single Post
08-29-21, 03:11 PM   #6
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,917
You are still not making sure that you are only accessing the collection information after the collection addon is loaded. You are checking for MCL addon is loaded but not checking if Blizzard_Collections addon is loaded before accessing its data. It might be that the first few accesses are failing in some way, do you have an error catch system like bugsack/buggrabber so that you can see if there are any particular errors that occur on that first access attempt.

Suggestions:

1. Install bugsack/buggrabber addons or any equivalents you may be aware of and prefer ..
2. In your event loop checking if the Blizzard_Collections addon is loaded and then do your collections related coding.
3. Make use of print statements to check what values are between code lines to see if values change and perhaps highlighting potential reasons why. - Just remember to remove them or put them in a if debug statement before releasing the addon if you plan to .
__________________
  Reply With Quote