avoid a null ref during jenkins tests

0.9.1.0-post-fixes
UbitUmarov 2018-10-20 15:35:04 +01:00
parent 05b79e203d
commit d1d370ada3
1 changed files with 2 additions and 1 deletions

View File

@ -265,6 +265,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
ChatTypeEnum.Shout, ScriptBaseClass.DEBUG_CHANNEL, m_host.ParentGroup.RootPart.AbsolutePosition, m_host.Name, m_host.UUID, true);
IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>();
if(wComm != null)
wComm.DeliverMessage(ChatTypeEnum.Shout, ScriptBaseClass.DEBUG_CHANNEL, m_host.Name, m_host.UUID, message);
}