mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
Unify a previous refactor of object return with the older solution. We
really don't need two methods doing the same thing, but differently.
This commit is contained in:
@@ -892,7 +892,7 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
|
||||
foreach (List<SceneObjectGroup> ol in returns.Values)
|
||||
{
|
||||
if (m_scene.Permissions.CanUseObjectReturn(this, type, remote_client, ol))
|
||||
if (m_scene.Permissions.CanReturnObjects(this, remote_client.AgentId, ol))
|
||||
m_scene.returnObjects(ol.ToArray(), remote_client.AgentId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user