diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index 675fccc..2818712 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -316,8 +316,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
316 | { | 316 | { |
317 | // If we're an NPC then skip all the item checks and manipulations since we don't have an | 317 | // If we're an NPC then skip all the item checks and manipulations since we don't have an |
318 | // inventory right now. | 318 | // inventory right now. |
319 | SceneObjectGroup objatt | 319 | RezSingleAttachmentFromInventoryInternal( |
320 | = RezSingleAttachmentFromInventoryInternal( | ||
321 | sp, sp.PresenceType == PresenceType.Npc ? UUID.Zero : attach.ItemID, attach.AssetID, attachmentPt, true); | 320 | sp, sp.PresenceType == PresenceType.Npc ? UUID.Zero : attach.ItemID, attach.AssetID, attachmentPt, true); |
322 | } | 321 | } |
323 | catch (Exception e) | 322 | catch (Exception e) |