diff options
-rw-r--r-- | OpenSim/Services/Interfaces/IAvatarService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Services/Interfaces/IAvatarService.cs b/OpenSim/Services/Interfaces/IAvatarService.cs index cda7113..863fd93 100644 --- a/OpenSim/Services/Interfaces/IAvatarService.cs +++ b/OpenSim/Services/Interfaces/IAvatarService.cs | |||
@@ -176,7 +176,8 @@ namespace OpenSim.Services.Interfaces | |||
176 | List<AvatarAttachment> attachments = appearance.GetAttachments(); | 176 | List<AvatarAttachment> attachments = appearance.GetAttachments(); |
177 | foreach (AvatarAttachment attach in attachments) | 177 | foreach (AvatarAttachment attach in attachments) |
178 | { | 178 | { |
179 | Data["_ap_" + attach.AttachPoint] = attach.ItemID.ToString(); | 179 | if (attach.ItemID != UUID.Zero) |
180 | Data["_ap_" + attach.AttachPoint] = attach.ItemID.ToString(); | ||
180 | } | 181 | } |
181 | } | 182 | } |
182 | 183 | ||