rez npcs attachments async again

0.9.1.0-post-fixes
UbitUmarov 2019-03-31 23:31:18 +01:00
parent 190e2da672
commit 7110e98815
1 changed files with 11 additions and 1 deletions

View File

@ -2259,7 +2259,17 @@ namespace OpenSim.Region.Framework.Scenes
if (IsNPC || IsRealLogin(m_teleportFlags))
{
if (Scene.AttachmentsModule != null)
Scene.AttachmentsModule.RezAttachments(this);
{
if(IsNPC)
{
Util.FireAndForget(x =>
{
Scene.AttachmentsModule.RezAttachments(this);
});
}
else
Scene.AttachmentsModule.RezAttachments(this);
}
}
else
{