Changed the server's lighting mode to 2. This will fix any glitches caused by the decreased world size.

This commit is contained in:
MarioE 2013-07-08 21:39:14 -04:00
parent e5889765fc
commit a86799cbb9

View file

@ -157,11 +157,11 @@ namespace TShockAPI
Log.Warn(logPathSetupWarning);
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
}
catch(Exception ex)
{
// Will be handled by the server api and written to its crashlog.txt.
throw new Exception("Fatal TShock initialization exception. See inner exception for details.", ex);
}
catch(Exception ex)
{
// Will be handled by the server api and written to its crashlog.txt.
throw new Exception("Fatal TShock initialization exception. See inner exception for details.", ex);
}
// Further exceptions are written to TShock's log from now on.
@ -571,6 +571,7 @@ namespace TShockAPI
Regions.ReloadAllRegions();
Lighting.lightMode = 2;
StatTracker.CheckIn();
FixChestStacks();