GetPlayerEntity().Name returns different playernames on the same account for a while when addon is first loaded. #17
Closed
opened 8 years ago by ddumont
·
2 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(MISSING)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
I have character specific config files for my addon. If I load the config too early, relying on GetPlayerEntity().Name, it will sometimes be another character on the account.
GetPlayerEntity relies on your party information being up to date. It uses the players index from the party list to obtain the entity index. So you would want to ensure that before you attempt to use the entity object that you have gotten valid party information updates.
Closing this due to lack of response.