fix: update to new agent id name

This commit is contained in:
Anna 2021-12-09 21:31:56 -05:00
parent bc0b982055
commit 43c5ac9969
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>();
}