mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Remove pointless contains check in ScenePresence.RemoveAttachment()
This commit is contained in:
@@ -3509,12 +3509,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
public void RemoveAttachment(SceneObjectGroup gobj)
|
||||
{
|
||||
lock (m_attachments)
|
||||
{
|
||||
if (m_attachments.Contains(gobj))
|
||||
{
|
||||
m_attachments.Remove(gobj);
|
||||
}
|
||||
}
|
||||
m_attachments.Remove(gobj);
|
||||
}
|
||||
|
||||
public bool ValidateAttachments()
|
||||
|
||||
Reference in New Issue
Block a user