mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
stop avatar move to target on parcel ban enforce
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user