summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Program.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-10-02 21:39:51 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-10-02 21:39:51 -0400
commit365da8e6e4aa03b66bf07cd8377a6062beed08f0 (patch)
treef17ee152411416cd04e2e66d9f8288e9ac7f6e50 /src/StardewModdingAPI/Program.cs
parentbd4ed4382909ff368536a7ce8f0e5f514658d288 (diff)
downloadSMAPI-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.cs2
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)
{