aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 52e7288..7a7c8d6 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -3029,9 +3029,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
3029 return; 3029 return;
3030 } 3030 }
3031 IClientAPI client = null; 3031 IClientAPI client = null;
3032 ScenePresence sp = World.GetScenePresence(m_host.TaskInventory[invItemID].PermsGranter); 3032 ScenePresence sp = World.GetScenePresence(m_host.TaskInventory[invItemID].PermsGranter);
3033 if (sp!=null) 3033 if (sp != null)
3034 client = sp.ControllingClient; 3034 client = sp.ControllingClient;
3035 SceneObjectPart targetPart = World.GetSceneObjectPart((UUID)target); 3035 SceneObjectPart targetPart = World.GetSceneObjectPart((UUID)target);
3036 if (targetPart.ParentGroup.RootPart.AttachmentPoint != 0) 3036 if (targetPart.ParentGroup.RootPart.AttachmentPoint != 0)
3037 return; // Fail silently if attached 3037 return; // Fail silently if attached