summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SCore.cs
diff options
context:
space:
mode:
authorDavid Camp <Bpendragon@users.noreply.github.com>2021-01-15 18:48:29 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-01-15 18:48:29 -0500
commitf945349ed40b770c1f7788f659d4ef3980abe3ff (patch)
tree6e50598531e75d7fa00a1ca9899a23ff18e5c174 /src/SMAPI/Framework/SCore.cs
parent8a475b35790506a18aa94a68530b40e8326017ca (diff)
downloadSMAPI-f945349ed40b770c1f7788f659d4ef3980abe3ff.tar.gz
SMAPI-f945349ed40b770c1f7788f659d4ef3980abe3ff.tar.bz2
SMAPI-f945349ed40b770c1f7788f659d4ef3980abe3ff.zip
(feat) Disable Mod rewrites if requested
Diffstat (limited to 'src/SMAPI/Framework/SCore.cs')
-rw-r--r--src/SMAPI/Framework/SCore.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs
index 00c2de75..06c88851 100644
--- a/src/SMAPI/Framework/SCore.cs
+++ b/src/SMAPI/Framework/SCore.cs
@@ -276,7 +276,7 @@ namespace StardewModdingAPI.Framework
// log basic info
this.LogManager.HandleMarkerFiles();
- this.LogManager.LogSettingsHeader(this.Settings.DeveloperMode, this.Settings.CheckForUpdates);
+ this.LogManager.LogSettingsHeader(this.Settings.DeveloperMode, this.Settings.CheckForUpdates, this.Settings.RewriteMods);
// set window titles
this.SetWindowTitles(
@@ -1389,7 +1389,7 @@ namespace StardewModdingAPI.Framework
// load mods
IList<IModMetadata> skippedMods = new List<IModMetadata>();
- using (AssemblyLoader modAssemblyLoader = new AssemblyLoader(Constants.Platform, this.Monitor, this.Settings.ParanoidWarnings))
+ using (AssemblyLoader modAssemblyLoader = new AssemblyLoader(Constants.Platform, this.Monitor, this.Settings.ParanoidWarnings, this.Settings.RewriteMods))
{
// init
HashSet<string> suppressUpdateChecks = new HashSet<string>(this.Settings.SuppressUpdateChecks, StringComparer.OrdinalIgnoreCase);