diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Instance')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 1ee6f77..8f6108d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | |||
@@ -714,5 +714,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
714 | throw new Exception("Completed persistence save, but no file was created"); | 714 | throw new Exception("Completed persistence save, but no file was created"); |
715 | } | 715 | } |
716 | } | 716 | } |
717 | |||
718 | public IScriptApi GetApi(string name) | ||
719 | { | ||
720 | if (m_Apis.ContainsKey(name)) | ||
721 | return m_Apis[name]; | ||
722 | return null; | ||
723 | } | ||
717 | } | 724 | } |
718 | } | 725 | } |