diff options
Diffstat (limited to '')
-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; |