aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/LandManagement/LandManager.cs
diff options
context:
space:
mode:
authorMW2007-08-24 16:17:57 +0000
committerMW2007-08-24 16:17:57 +0000
commit4276a352bcef890f3487ff701fba2de617d2c3de (patch)
treec658eb9abd5fe90e404a4359bb3dcad0506c0fe3 /OpenSim/Region/Environment/LandManagement/LandManager.cs
parentit helps to actually call TestTables to get the new tables created (diff)
downloadopensim-SC_OLD-4276a352bcef890f3487ff701fba2de617d2c3de.zip
opensim-SC_OLD-4276a352bcef890f3487ff701fba2de617d2c3de.tar.gz
opensim-SC_OLD-4276a352bcef890f3487ff701fba2de617d2c3de.tar.bz2
opensim-SC_OLD-4276a352bcef890f3487ff701fba2de617d2c3de.tar.xz
Small bit of refactoring to the startup command script code (moved it into a separate method), so that I could add a new CLI command of "command-script <fileName>", so that as well as the startup command script still being processed on startup. A user can create other command scripts and use the single command ("command-script <filename>") to run them at any time. Could be useful for trying out various configurations etc.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/LandManagement/LandManager.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/LandManagement/LandManager.cs b/OpenSim/Region/Environment/LandManagement/LandManager.cs
index 2f345f4..1ed0642 100644
--- a/OpenSim/Region/Environment/LandManagement/LandManager.cs
+++ b/OpenSim/Region/Environment/LandManagement/LandManager.cs
@@ -207,8 +207,7 @@ 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 return null; 210 throw new Exception("Error: Parcel not found at point " + x + ", " + y);
211 //throw new Exception("Error: Parcel not found at point " + x + ", " + y);
212 } 211 }
213 else 212 else
214 { 213 {
@@ -221,8 +220,7 @@ namespace OpenSim.Region.Environment.LandManagement
221 { 220 {
222 if (x > 256 || y > 256 || x < 0 || y < 0) 221 if (x > 256 || y > 256 || x < 0 || y < 0)
223 { 222 {
224 return null; 223 throw new Exception("Error: Parcel not found at point " + x + ", " + y);
225 //throw new Exception("Error: Parcel not found at point " + x + ", " + y);
226 } 224 }
227 else 225 else
228 { 226 {