parent
6cad71d5ec
commit
fb5f702e78
|
@ -4405,7 +4405,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
{
|
||||
try
|
||||
{
|
||||
SceneObjectPart obj = World.GetSceneObjectPart(World.Entities[key].LocalId);
|
||||
SceneObjectPart obj = World.GetSceneObjectPart(key);
|
||||
if (obj == null)
|
||||
return id; // the key is for an agent so just return the key
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue