* Update to send the parcel gathering error to a .Debug message.. so that a developer can see it in the environment, but it doesn't cause any adverse effects.
parent
37ea050886
commit
9f3170b49f
|
@ -457,7 +457,8 @@ namespace OpenSim.Region.Environment.LandManagement
|
||||||
|
|
||||||
|
|
||||||
//Now for border control
|
//Now for border control
|
||||||
|
try
|
||||||
|
{
|
||||||
Land westParcel = getLandObject((x - 1) * 4, y * 4);
|
Land westParcel = getLandObject((x - 1) * 4, y * 4);
|
||||||
Land southParcel = getLandObject(x * 4, (y - 1) * 4);
|
Land southParcel = getLandObject(x * 4, (y - 1) * 4);
|
||||||
if (x == 0)
|
if (x == 0)
|
||||||
|
@ -491,6 +492,11 @@ namespace OpenSim.Region.Environment.LandManagement
|
||||||
byteArray = new byte[LAND_BLOCKS_PER_PACKET];
|
byteArray = new byte[LAND_BLOCKS_PER_PACKET];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch (System.Exception)
|
||||||
|
{
|
||||||
|
OpenSim.Framework.Console.MainLog.Instance.Debug("LAND", "Skipped Land checks because avatar is out of bounds");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue