mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
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.
This commit is contained in:
@@ -207,8 +207,7 @@ namespace OpenSim.Region.Environment.LandManagement
|
||||
|
||||
if (x > 63 || y > 63 || x < 0 || y < 0)
|
||||
{
|
||||
return null;
|
||||
//throw new Exception("Error: Parcel not found at point " + x + ", " + y);
|
||||
throw new Exception("Error: Parcel not found at point " + x + ", " + y);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -221,8 +220,7 @@ namespace OpenSim.Region.Environment.LandManagement
|
||||
{
|
||||
if (x > 256 || y > 256 || x < 0 || y < 0)
|
||||
{
|
||||
return null;
|
||||
//throw new Exception("Error: Parcel not found at point " + x + ", " + y);
|
||||
throw new Exception("Error: Parcel not found at point " + x + ", " + y);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user