mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
Fix an ArgumentNullException when moving a DotNet scripted object to the next region
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user