diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index a3712d1..b7ecb55 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -233,11 +233,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
233 | if (updateInventoryStatus) | 233 | if (updateInventoryStatus) |
234 | { | 234 | { |
235 | if (att == null) | 235 | if (att == null) |
236 | { | ||
237 | ShowDetachInUserInventory(itemID, remoteClient); | 236 | ShowDetachInUserInventory(itemID, remoteClient); |
238 | } | 237 | else |
239 | 238 | SetAttachmentInventoryStatus(att, remoteClient, itemID, AttachmentPt); | |
240 | SetAttachmentInventoryStatus(att, remoteClient, itemID, AttachmentPt); | ||
241 | } | 239 | } |
242 | 240 | ||
243 | if (null == att) | 241 | if (null == att) |