mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
Yengine: avoid use of Enum.Parse
This commit is contained in:
@@ -1789,8 +1789,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||
{
|
||||
if (m_Scripts.TryGetValue(itemID, out IScriptInstance instance))
|
||||
{
|
||||
if (instance != null)
|
||||
instance.PostEvent(p);
|
||||
instance?.PostEvent(p);
|
||||
return true;
|
||||
}
|
||||
lock (m_CompileDict)
|
||||
|
||||
Reference in New Issue
Block a user