mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Prevent dropping someone else's attachments
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user