Added warning in RegionCombinerModule about it being considered obsolete and encouraging people to switch to varregions.

0.8.2-post-fixes
Diva Canto 2015-10-18 16:59:47 -07:00
parent 36573b4568
commit a7f42ea8f1
1 changed files with 2 additions and 0 deletions

View File

@ -79,6 +79,8 @@ namespace OpenSim.Region.RegionCombinerModule
{ {
IConfig myConfig = source.Configs["Startup"]; IConfig myConfig = source.Configs["Startup"];
m_combineContiguousRegions = myConfig.GetBoolean("CombineContiguousRegions", false); m_combineContiguousRegions = myConfig.GetBoolean("CombineContiguousRegions", false);
if (m_combineContiguousRegions)
m_log.ErrorFormat("[REGION COMBINER MODULE]: THIS MODULE IS BEING MARKED OBSOLETE AND MAY SOON BE REMOVED. PLEASE USE VARREGIONS INSTEAD.");
MainConsole.Instance.Commands.AddCommand( MainConsole.Instance.Commands.AddCommand(
"RegionCombinerModule", false, "fix-phantoms", "fix-phantoms", "RegionCombinerModule", false, "fix-phantoms", "fix-phantoms",