Skip to content

Commit 949c756

Browse files
committed
fix a rare error in friends dt
1 parent 9d49074 commit 949c756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ElvUI/Core/Modules/DataTexts/Friends.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ local function BuildBNTable(total)
290290

291291
for i = 1, total do
292292
local accountInfo = GetFriendAccountInfo(i)
293-
local gameInfo = accountInfo.gameAccountInfo
293+
local gameInfo = accountInfo and accountInfo.gameAccountInfo
294294
if gameInfo and gameInfo.isOnline then
295295
local numGameAccounts = GetFriendNumGameAccounts(i)
296296
if numGameAccounts and numGameAccounts > 0 then

0 commit comments

Comments
 (0)