Fix an ArgumentNullException when moving a DotNet scripted object to the next region
parent
a5bd2b2136
commit
84ba5dd962
|
@ -967,7 +967,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
|||
{
|
||||
IScriptInstance instance = GetInstance(itemID);
|
||||
if (instance == null)
|
||||
return null;
|
||||
return "";
|
||||
return instance.GetAssemblyName();
|
||||
}
|
||||
|
||||
|
@ -975,7 +975,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
|||
{
|
||||
IScriptInstance instance = GetInstance(itemID);
|
||||
if (instance == null)
|
||||
return null;
|
||||
return "";
|
||||
return instance.GetXMLState();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue