change a few more parcel eject code paths
parent
1a7c8893ee
commit
c5802c9460
|
@ -1886,7 +1886,7 @@ namespace OpenSim.Region.CoreModules.World.Land
|
|||
if (land.LandData.LocalID == LandData.LocalID)
|
||||
{
|
||||
Vector3 pos = m_scene.GetNearestAllowedPosition(presence, land);
|
||||
presence.TeleportWithMomentum(pos, null);
|
||||
presence.TeleportOnEject(pos);
|
||||
presence.ControllingClient.SendAlertMessage("You have been ejected from this land");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6827,7 +6827,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
if (m_host.OwnerID == land.LandData.OwnerID)
|
||||
{
|
||||
Vector3 p = World.GetNearestAllowedPosition(presence, land);
|
||||
presence.TeleportWithMomentum(p, null);
|
||||
presence.TeleportOnEject(p);
|
||||
presence.ControllingClient.SendAlertMessage("You have been ejected from this land");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue