Prevent dropping someone else's attachments
parent
90b51dc7d6
commit
eb58d91098
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue