don't delete too much on online cache at tp out

This commit is contained in:
UbitUmarov
2023-02-03 21:03:25 +00:00
parent 3858cc945c
commit a0bb4a252e

View File

@@ -389,8 +389,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
lock (m_Friends)
{
foreach(HashSet<UUID> friends in m_OnlineFriendsCache.Values)
friends.Remove(agentID);
m_OnlineFriendsCache.Remove(agentID);
if (m_Friends.TryGetValue(agentID, out UserFriendData friendsData))
{