diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index 365cdbb..847a999 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -406,7 +406,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
406 | if (m_scene.TryGetScenePresence(remoteClient.AgentId, out presence)) | 406 | if (m_scene.TryGetScenePresence(remoteClient.AgentId, out presence)) |
407 | { | 407 | { |
408 | if (!m_scene.Permissions.CanRezObject( | 408 | if (!m_scene.Permissions.CanRezObject( |
409 | part.ParentGroup.Children.Count, remoteClient.AgentId, presence.AbsolutePosition)) | 409 | part.ParentGroup.PrimCount, remoteClient.AgentId, presence.AbsolutePosition)) |
410 | return; | 410 | return; |
411 | 411 | ||
412 | presence.Appearance.DetachAttachment(itemID); | 412 | presence.Appearance.DetachAttachment(itemID); |