Pass the correct position to QueryAccess() instead of UUID.Zero (it was wrong in one place)

0.8.0.3
Oren Hurvitz 2014-04-06 15:51:21 +03:00
parent cacbb5c165
commit d4acaf25af
1 changed files with 1 additions and 1 deletions

View File

@ -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);