DBM - Deadly Boss Mods (DBM-Core)

DBM - Deadly Boss Mods (DBM-Core)

522M Downloads

Function "checkForSafeSender" non-bnet friend check doesn't work.

Winsane opened this issue ยท 0 comments

commented

The reason is because the C_FriendList.GetFriendInfo() function is for getting friend info by name, not by index.
To get friend info by index, you need to change:

local toonName = C_FriendList.GetFriendInfo(i)

to
local toonName = C_FriendList.GetFriendInfoByIndex(i).name