LUA error when mouseover a character when some BNet friends from another area are logged in
LenweSaralonde opened this issue ยท 1 comments
Steps:
- Have a BNet account with friends in Area 1 (ie EU)
- Create a trial WoW account in another Area 2 (ie US)
- Create character on the trial account in Area 2 (ie Moonguard)
- Wait approx 20s
- Mouse over a character
The following LUA error occurs:
Interface\AddOns\CrossRP\CrossRP.lua:732: attempt to index field 'realmName' (a nil value)
The root cause is the object returned by the C_BattleNet.GetFriendGameAccountInfo( friend, account_index )
function is missing the realmName
property.
Since there is no way to interact with players from other areas, we could just ignore those who realmName
that is nil
.