mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
* Fixed a null NewPack error in ClientView.InPacket (object pool returning null objects?)
This commit is contained in:
@@ -242,6 +242,9 @@ namespace OpenSim.Region.Environment.LandManagement
|
||||
|
||||
if (x >= 64 || y >= 64 || x < 0 || y < 0)
|
||||
{
|
||||
// These exceptions here will cause a lot of complaints from the users specifically because
|
||||
// they happen every time at border crossings
|
||||
|
||||
throw new Exception("Error: Parcel not found at point " + x + ", " + y);
|
||||
}
|
||||
else
|
||||
@@ -255,6 +258,8 @@ namespace OpenSim.Region.Environment.LandManagement
|
||||
{
|
||||
if (x >= 256 || y >= 256 || x < 0 || y < 0)
|
||||
{
|
||||
// These exceptions here will cause a lot of complaints from the users specifically because
|
||||
// they happen every time at border crossings
|
||||
throw new Exception("Error: Parcel not found at point " + x + ", " + y);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user