stop avatar move to target on parcel ban enforce
parent
7831d219d7
commit
f8f28311bf
|
@ -414,6 +414,8 @@ namespace OpenSim.Region.CoreModules.World.Land
|
|||
if (!position.HasValue)
|
||||
return;
|
||||
|
||||
if(avatar.MovingToTarget)
|
||||
avatar.ResetMoveToTarget();
|
||||
avatar.AbsolutePosition = position.Value;
|
||||
avatar.lastKnownAllowedPosition = position.Value;
|
||||
avatar.Velocity = Vector3.Zero;
|
||||
|
|
Loading…
Reference in New Issue