mirror of
https://github.com/opensim/opensim.git
synced 2026-07-14 03:15:36 +08:00
dont self osDie attachments
This commit is contained in:
@@ -1897,7 +1897,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
|
||||
// harakiri check
|
||||
if(objUUID == UUID.Zero)
|
||||
throw new SelfDeleteException();
|
||||
{
|
||||
if (!m_host.ParentGroup.IsAttachment)
|
||||
throw new SelfDeleteException();
|
||||
return;
|
||||
}
|
||||
|
||||
SceneObjectGroup sceneOG = World.GetSceneObjectGroup(objUUID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user