Prevent dropping someone else's attachments

viewer-2-initial-appearance
Melanie 2010-09-30 15:57:52 +01:00
parent 90b51dc7d6
commit eb58d91098
1 changed files with 3 additions and 0 deletions

View File

@ -409,6 +409,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
if (part == null || part.ParentGroup == null)
return;
if (part.ParentGroup.RootPart.AttachedAvatar != remoteClient.AgentId)
return;
UUID inventoryID = part.ParentGroup.GetFromItemID();
ScenePresence presence;