mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
Adapt some TeleportWithMomentum calls
This commit is contained in:
@@ -1771,7 +1771,7 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
|
||||
Vector3 pos = m_scene.GetNearestAllowedPosition(targetAvatar, land);
|
||||
|
||||
targetAvatar.TeleportWithMomentum(pos);
|
||||
targetAvatar.TeleportWithMomentum(pos, null);
|
||||
targetAvatar.ControllingClient.SendAlertMessage("You have been ejected by " + parcelManager.Firstname + " " + parcelManager.Lastname);
|
||||
parcelManager.ControllingClient.SendAlertMessage("Avatar Ejected.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user