diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index f5c72e1..e3b7c72 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3512,7 +3512,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
3512 | 3512 | ||
3513 | public bool HasAttachments() | 3513 | public bool HasAttachments() |
3514 | { | 3514 | { |
3515 | return m_attachments.Count > 0; | 3515 | lock (m_attachments) |
3516 | return m_attachments.Count > 0; | ||
3516 | } | 3517 | } |
3517 | 3518 | ||
3518 | public bool HasScriptedAttachments() | 3519 | public bool HasScriptedAttachments() |