aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs')
-rw-r--r--OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs b/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs
index 1578348..d0a0e86 100644
--- a/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs
+++ b/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs
@@ -29,7 +29,7 @@ using System;
29using System.Text; 29using System.Text;
30using Axiom.Math; 30using Axiom.Math;
31using OpenSim.Framework.Console; 31using OpenSim.Framework.Console;
32using OpenSim.Region.Environment.LandManagement; 32using OpenSim.Region.Environment.Interfaces;
33using OpenSim.Region.Environment.Scenes; 33using OpenSim.Region.Environment.Scenes;
34using Key = libsecondlife.LLUUID; 34using Key = libsecondlife.LLUUID;
35using Rotation = libsecondlife.LLQuaternion; 35using Rotation = libsecondlife.LLQuaternion;
@@ -105,7 +105,7 @@ namespace OpenSim.Region.ExtensionsScriptModule
105 public void osAddToLandPassList(Key avatar, float hours) 105 public void osAddToLandPassList(Key avatar, float hours)
106 { 106 {
107 Vector myPosition = Task.AbsolutePosition; 107 Vector myPosition = Task.AbsolutePosition;
108 Land myParcel = Scene.LandManager.getLandObject(myPosition.X, myPosition.Y); 108 ILandObject myParcel = Scene.LandChannel.getLandObject(myPosition.X, myPosition.Y);
109 if (myParcel == null) 109 if (myParcel == null)
110 { 110 {
111 //Dont do anything! 111 //Dont do anything!