Prevent a nullref when no script engines are loaded
parent
7306b73f02
commit
5a0f1e9022
|
@ -1962,6 +1962,9 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
//
|
||||
foreach (IScriptModule m in m_scriptEngines)
|
||||
{
|
||||
if (m == null) // No script engine loaded
|
||||
continue;
|
||||
|
||||
m.PostObjectEvent(grp.RootPart.UUID, "changed", new Object[] {16384});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue