diff options
Hopefully fixed mantis bug #318 (exception when a prim moves across a border, for now have stopped prims moving beyond a regions area, will add sending prims from one region to another soon).
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/LandManagement/LandManager.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/LandManagement/LandManager.cs b/OpenSim/Region/Environment/LandManagement/LandManager.cs index 1ed0642..2f345f4 100644 --- a/OpenSim/Region/Environment/LandManagement/LandManager.cs +++ b/OpenSim/Region/Environment/LandManagement/LandManager.cs | |||
@@ -207,7 +207,8 @@ namespace OpenSim.Region.Environment.LandManagement | |||
207 | 207 | ||
208 | if (x > 63 || y > 63 || x < 0 || y < 0) | 208 | if (x > 63 || y > 63 || x < 0 || y < 0) |
209 | { | 209 | { |
210 | throw new Exception("Error: Parcel not found at point " + x + ", " + y); | 210 | return null; |
211 | //throw new Exception("Error: Parcel not found at point " + x + ", " + y); | ||
211 | } | 212 | } |
212 | else | 213 | else |
213 | { | 214 | { |
@@ -220,7 +221,8 @@ namespace OpenSim.Region.Environment.LandManagement | |||
220 | { | 221 | { |
221 | if (x > 256 || y > 256 || x < 0 || y < 0) | 222 | if (x > 256 || y > 256 || x < 0 || y < 0) |
222 | { | 223 | { |
223 | throw new Exception("Error: Parcel not found at point " + x + ", " + y); | 224 | return null; |
225 | //throw new Exception("Error: Parcel not found at point " + x + ", " + y); | ||
224 | } | 226 | } |
225 | else | 227 | else |
226 | { | 228 | { |