* Tell the user what the new terrain commands format is if they try to execute a deprecated one

* As per CharlieO's suggestion in #806.  Thanks!
0.6.0-stable
Justin Clarke Casey 2008-03-22 10:09:09 +00:00
parent 7854f6f4a2
commit e211a3b00b
1 changed files with 4 additions and 1 deletions

View File

@ -177,7 +177,10 @@ namespace OpenSim.Region.Environment.Scenes
public bool RunTerrainCmdOnCurrentScene(string[] cmdparams, ref string result) public bool RunTerrainCmdOnCurrentScene(string[] cmdparams, ref string result)
{ {
m_log.Warn("Terrain commands have been deprecated."); m_log.Warn("Old terrain commands format has been deprecated.");
m_log.Warn("Please enter 'script terrain' rather than 'terrain'.");
m_log.Warn("FOR EXAMPLE: script terrain fill 25");
return false; return false;
} }