fix: update to new agent id name

This commit is contained in:
Anna 2021-12-09 21:31:56 -05:00
parent 6e4f397f03
commit c86b483f66
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ namespace XivCommon.Functions.FriendList {
var friendListAgent = (IntPtr) Framework.Instance()
->GetUiModule()
->GetAgentModule()
->GetAgentByInternalId(AgentId.FriendList);
->GetAgentByInternalId(AgentId.SocialFriendList);
if (friendListAgent == IntPtr.Zero) {
return Array.Empty<FriendListEntry>();
}