Changed the server's lighting mode to 2. This will fix any glitches caused by the decreased world size.
This commit is contained in:
parent
e5889765fc
commit
a86799cbb9
1 changed files with 6 additions and 5 deletions
|
|
@ -157,11 +157,11 @@ namespace TShockAPI
|
||||||
Log.Warn(logPathSetupWarning);
|
Log.Warn(logPathSetupWarning);
|
||||||
|
|
||||||
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
|
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
|
||||||
}
|
}
|
||||||
catch(Exception ex)
|
catch(Exception ex)
|
||||||
{
|
{
|
||||||
// Will be handled by the server api and written to its crashlog.txt.
|
// 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);
|
throw new Exception("Fatal TShock initialization exception. See inner exception for details.", ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Further exceptions are written to TShock's log from now on.
|
// Further exceptions are written to TShock's log from now on.
|
||||||
|
|
@ -571,6 +571,7 @@ namespace TShockAPI
|
||||||
|
|
||||||
Regions.ReloadAllRegions();
|
Regions.ReloadAllRegions();
|
||||||
|
|
||||||
|
Lighting.lightMode = 2;
|
||||||
StatTracker.CheckIn();
|
StatTracker.CheckIn();
|
||||||
FixChestStacks();
|
FixChestStacks();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue