mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
Pass the correct position to QueryAccess() instead of UUID.Zero (it was wrong in one place)
This commit is contained in:
@@ -742,7 +742,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
|
||||
string reason;
|
||||
string version;
|
||||
if (!Scene.SimulationService.QueryAccess(
|
||||
finalDestination, sp.ControllingClient.AgentId, Vector3.Zero, out version, out reason))
|
||||
finalDestination, sp.ControllingClient.AgentId, position, out version, out reason))
|
||||
{
|
||||
sp.ControllingClient.SendTeleportFailed(reason);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user