From 2641f78a205733dd2730302b84f46d01262bc2ec Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Thu, 20 Dec 2007 14:44:59 +0000 Subject: * Fixed a null NewPack error in ClientView.InPacket (object pool returning null objects?) --- OpenSim/Region/Environment/LandManagement/LandManager.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Region/Environment/LandManagement/LandManager.cs') diff --git a/OpenSim/Region/Environment/LandManagement/LandManager.cs b/OpenSim/Region/Environment/LandManagement/LandManager.cs index 72c449b..310d29b 100644 --- a/OpenSim/Region/Environment/LandManagement/LandManager.cs +++ b/OpenSim/Region/Environment/LandManagement/LandManager.cs @@ -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 -- cgit v1.1