Quantcast
GetItemSpell, when can I call it ? - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-23-21, 09:37 AM   #1
Sha2700
A Kobold Labourer
Join Date: Aug 2021
Posts: 1
GetItemSpell, when can I call it ?

Hello!

I started writing an addOn for fun, and I begin to have some timing issues...
On event "PLAYER_ENTERING_WORLD", I create the full addOn interface, registering events, etc...
Everything is OK except on login where a GetItemSpell and returns nil... After that, no more issues.
Is there any timing constraints for this function ? Does the event "PLAYER_ENTERING_WORLD" happen to soon and the Blizzard's internals are not yet fully loaded ?

Thanks !
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » GetItemSpell, when can I call it ?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off