diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-02-03 20:24:25 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-02-03 20:24:25 -0500 |
commit | 54e7b5b846dfd542af3c8a904a57fc5ccc44ecb5 (patch) | |
tree | 622a3d1670e12426e16df9eedb75ff6ad8c3cda8 /src/SMAPI.Mods.ErrorHandler | |
parent | e81e07594ca4863f9feb94c882b59ba7cc00a0ae (diff) | |
download | SMAPI-54e7b5b846dfd542af3c8a904a57fc5ccc44ecb5.tar.gz SMAPI-54e7b5b846dfd542af3c8a904a57fc5ccc44ecb5.tar.bz2 SMAPI-54e7b5b846dfd542af3c8a904a57fc5ccc44ecb5.zip |
enable aggressive memory optimizations by default (#757)
The new approach should be safe, and no errors were reported so far by alpha testers.
Diffstat (limited to 'src/SMAPI.Mods.ErrorHandler')
-rw-r--r-- | src/SMAPI.Mods.ErrorHandler/ModEntry.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Mods.ErrorHandler/ModEntry.cs b/src/SMAPI.Mods.ErrorHandler/ModEntry.cs index 2f6f1939..f543814e 100644 --- a/src/SMAPI.Mods.ErrorHandler/ModEntry.cs +++ b/src/SMAPI.Mods.ErrorHandler/ModEntry.cs @@ -30,7 +30,7 @@ namespace StardewModdingAPI.Mods.ErrorHandler LogManager logManager = core.GetType().GetField("LogManager", BindingFlags.Instance | BindingFlags.NonPublic)?.GetValue(core) as LogManager; if (logManager == null) { - this.Monitor.Log($"Can't access SMAPI's internal log manager. Error-handling patches won't be applied.", LogLevel.Error); + this.Monitor.Log("Can't access SMAPI's internal log manager. Error-handling patches won't be applied.", LogLevel.Error); return; } |