diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-10-02 21:39:51 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-10-02 21:39:51 -0400 |
commit | 365da8e6e4aa03b66bf07cd8377a6062beed08f0 (patch) | |
tree | f17ee152411416cd04e2e66d9f8288e9ac7f6e50 /src/StardewModdingAPI/Program.cs | |
parent | bd4ed4382909ff368536a7ce8f0e5f514658d288 (diff) | |
download | SMAPI-365da8e6e4aa03b66bf07cd8377a6062beed08f0.tar.gz SMAPI-365da8e6e4aa03b66bf07cd8377a6062beed08f0.tar.bz2 SMAPI-365da8e6e4aa03b66bf07cd8377a6062beed08f0.zip |
detect use of 'dynamic' in mod code
Diffstat (limited to 'src/StardewModdingAPI/Program.cs')
-rw-r--r-- | src/StardewModdingAPI/Program.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StardewModdingAPI/Program.cs b/src/StardewModdingAPI/Program.cs index e7f6f458..304de15d 100644 --- a/src/StardewModdingAPI/Program.cs +++ b/src/StardewModdingAPI/Program.cs @@ -626,7 +626,7 @@ namespace StardewModdingAPI { void TrackSkip(IModMetadata mod, string reasonPhrase) => skippedMods[mod] = reasonPhrase; - AssemblyLoader modAssemblyLoader = new AssemblyLoader(Constants.TargetPlatform, this.Monitor); + AssemblyLoader modAssemblyLoader = new AssemblyLoader(Constants.TargetPlatform, this.Monitor, this.Settings.DeveloperMode); AppDomain.CurrentDomain.AssemblyResolve += (sender, e) => modAssemblyLoader.ResolveAssembly(e.Name); foreach (IModMetadata metadata in mods) { |