diff options
Diffstat (limited to 'OpenSim/Region/ExtensionsScriptModule')
-rw-r--r-- | OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs | 4 |
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; | |||
29 | using System.Text; | 29 | using System.Text; |
30 | using Axiom.Math; | 30 | using Axiom.Math; |
31 | using OpenSim.Framework.Console; | 31 | using OpenSim.Framework.Console; |
32 | using OpenSim.Region.Environment.LandManagement; | 32 | using OpenSim.Region.Environment.Interfaces; |
33 | using OpenSim.Region.Environment.Scenes; | 33 | using OpenSim.Region.Environment.Scenes; |
34 | using Key = libsecondlife.LLUUID; | 34 | using Key = libsecondlife.LLUUID; |
35 | using Rotation = libsecondlife.LLQuaternion; | 35 | using 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! |