diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index cd630b8..5faa764 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2259,7 +2259,17 @@ namespace OpenSim.Region.Framework.Scenes | |||
2259 | if (IsNPC || IsRealLogin(m_teleportFlags)) | 2259 | if (IsNPC || IsRealLogin(m_teleportFlags)) |
2260 | { | 2260 | { |
2261 | if (Scene.AttachmentsModule != null) | 2261 | if (Scene.AttachmentsModule != null) |
2262 | Scene.AttachmentsModule.RezAttachments(this); | 2262 | { |
2263 | if(IsNPC) | ||
2264 | { | ||
2265 | Util.FireAndForget(x => | ||
2266 | { | ||
2267 | Scene.AttachmentsModule.RezAttachments(this); | ||
2268 | }); | ||
2269 | } | ||
2270 | else | ||
2271 | Scene.AttachmentsModule.RezAttachments(this); | ||
2272 | } | ||
2263 | } | 2273 | } |
2264 | else | 2274 | else |
2265 | { | 2275 | { |