cosmetics

This commit is contained in:
UbitUmarov
2022-12-17 18:51:44 +00:00
parent 763c04873f
commit 3607da13e0
2 changed files with 15 additions and 10 deletions

View File

@@ -376,7 +376,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
for (int indx = 0; indx < ad.AttachmentObjects.Count; ++indx)
{
SceneObjectGroup sog = ad.AttachmentObjects[indx] as SceneObjectGroup;
if(sog != null)
if(sog != null && sog.OwnerID.Equals(sp.UUID))
{
sog.LocalId = 0;
sog.RootPart.ClearUpdateSchedule();