diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land/LandObject.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandObject.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs index 07d11f9..4471432 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs | |||
@@ -1886,7 +1886,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
1886 | if (land.LandData.LocalID == LandData.LocalID) | 1886 | if (land.LandData.LocalID == LandData.LocalID) |
1887 | { | 1887 | { |
1888 | Vector3 pos = m_scene.GetNearestAllowedPosition(presence, land); | 1888 | Vector3 pos = m_scene.GetNearestAllowedPosition(presence, land); |
1889 | presence.TeleportWithMomentum(pos, null); | 1889 | presence.TeleportOnEject(pos); |
1890 | presence.ControllingClient.SendAlertMessage("You have been ejected from this land"); | 1890 | presence.ControllingClient.SendAlertMessage("You have been ejected from this land"); |
1891 | } | 1891 | } |
1892 | } | 1892 | } |