diff options
author | mingchen | 2007-12-21 00:35:55 +0000 |
---|---|---|
committer | mingchen | 2007-12-21 00:35:55 +0000 |
commit | 37ea05088610db79ad3c6c99d1dfa818e98ccc26 (patch) | |
tree | a391b5e80818436917d488b637ccbdec21913b9f /OpenSim/Region/ExtensionsScriptModule | |
parent | *on more implicit use of .ToString() on deleting shapes in MonoSqliteDataStore (diff) | |
download | opensim-SC_OLD-37ea05088610db79ad3c6c99d1dfa818e98ccc26.zip opensim-SC_OLD-37ea05088610db79ad3c6c99d1dfa818e98ccc26.tar.gz opensim-SC_OLD-37ea05088610db79ad3c6c99d1dfa818e98ccc26.tar.bz2 opensim-SC_OLD-37ea05088610db79ad3c6c99d1dfa818e98ccc26.tar.xz |
*Removed some exceptions that were thrown in Land that is no longer needed.
Diffstat (limited to 'OpenSim/Region/ExtensionsScriptModule')
-rw-r--r-- | OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs b/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs index 2895c4e..d6613e9 100644 --- a/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs +++ b/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs | |||
@@ -103,7 +103,10 @@ namespace OpenSim.Region.ExtensionsScriptModule | |||
103 | { | 103 | { |
104 | Vector myPosition = Task.AbsolutePosition; | 104 | Vector myPosition = Task.AbsolutePosition; |
105 | Land myParcel = Scene.LandManager.getLandObject(myPosition.X, myPosition.Y); | 105 | Land myParcel = Scene.LandManager.getLandObject(myPosition.X, myPosition.Y); |
106 | 106 | if (myParcel == null) | |
107 | { | ||
108 | //Dont do anything! | ||
109 | } | ||
107 | MainLog.Instance.Warn("script", | 110 | MainLog.Instance.Warn("script", |
108 | "Unimplemented function called by script: osAddToLandPassList(Key avatar, float hours)"); | 111 | "Unimplemented function called by script: osAddToLandPassList(Key avatar, float hours)"); |
109 | return; | 112 | return; |