mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
HGFriendsModule: Type casts to fix compile error
This commit is contained in:
@@ -135,7 +135,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||
if (!UserManagementModule.IsLocalGridUser(friendID))
|
||||
{
|
||||
ScenePresence avatar = null;
|
||||
client.Scene.TryGetScenePresence(principalID, out avatar);
|
||||
((Scene)client.Scene).TryGetScenePresence(principalID, out avatar);
|
||||
|
||||
if (avatar == null)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user