mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
avoid a null ref during jenkins tests
This commit is contained in:
@@ -265,7 +265,8 @@ 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>();
|
||||
wComm.DeliverMessage(ChatTypeEnum.Shout, ScriptBaseClass.DEBUG_CHANNEL, m_host.Name, m_host.UUID, message);
|
||||
if(wComm != null)
|
||||
wComm.DeliverMessage(ChatTypeEnum.Shout, ScriptBaseClass.DEBUG_CHANNEL, m_host.Name, m_host.UUID, message);
|
||||
}
|
||||
|
||||
// Returns if OSSL is enabled. Throws a script exception if OSSL is not allowed..
|
||||
|
||||
Reference in New Issue
Block a user