aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index 6f7256e..9807ea5 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -426,6 +426,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
426 if (part == null || part.ParentGroup == null) 426 if (part == null || part.ParentGroup == null)
427 return; 427 return;
428 428
429 if (part.ParentGroup.RootPart.AttachedAvatar != remoteClient.AgentId)
430 return;
431
429 UUID inventoryID = part.ParentGroup.GetFromItemID(); 432 UUID inventoryID = part.ParentGroup.GetFromItemID();
430 433
431 ScenePresence presence; 434 ScenePresence presence;