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

avinationmerge
Diva Canto 2015-10-18 16:59:47 -07:00
parent 7ab633461e
commit 839e239c99
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",