diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index cd85d530..7449e780 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -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();