Pass the correct position to QueryAccess() instead of UUID.Zero (it was wrong in one place)
parent
cacbb5c165
commit
d4acaf25af
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue