diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-19 22:52:52 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-19 22:52:52 -0400 |
commit | c513bb011c858e59abbd77f75080f4a1d8b712f9 (patch) | |
tree | 1ba22b78c0a0e9d3915fb4d2d6378eff0e1ae532 /src/StardewModdingAPI/Program.cs | |
parent | 954de8c4f2683b39a3f5a11fd29c39130bc31bdb (diff) | |
download | SMAPI-c513bb011c858e59abbd77f75080f4a1d8b712f9.tar.gz SMAPI-c513bb011c858e59abbd77f75080f4a1d8b712f9.tar.bz2 SMAPI-c513bb011c858e59abbd77f75080f4a1d8b712f9.zip |
pass mod metadata into rewriters (#347)
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 c1165216..84af2777 100644 --- a/src/StardewModdingAPI/Program.cs +++ b/src/StardewModdingAPI/Program.cs @@ -645,7 +645,7 @@ namespace StardewModdingAPI Assembly modAssembly; try { - modAssembly = modAssemblyLoader.Load(assemblyPath, assumeCompatible: metadata.Compatibility?.Compatibility == ModCompatibilityType.AssumeCompatible); + modAssembly = modAssemblyLoader.Load(metadata, assemblyPath, assumeCompatible: metadata.Compatibility?.Compatibility == ModCompatibilityType.AssumeCompatible); } catch (IncompatibleInstructionException ex) { |