mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Stop "handle sit user name" command from trying to sit avatars on objects which have sit positions but are attachments
This commit is contained in:
@@ -127,6 +127,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.SitStand
|
||||
|
||||
foreach (SceneObjectGroup sceneObject in sceneObjects)
|
||||
{
|
||||
if (sceneObject.IsAttachment)
|
||||
continue;
|
||||
|
||||
foreach (SceneObjectPart part in sceneObject.Parts)
|
||||
{
|
||||
if (part.IsSitTargetSet && part.SitTargetAvatar == UUID.Zero)
|
||||
|
||||
Reference in New Issue
Block a user