diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-24 02:25:35 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-24 02:25:35 -0400 |
commit | 8e0d1b8682f0898e941fee16c6649f1165fde499 (patch) | |
tree | 1c1af4e5ccd7fab032a2173a11e82a745ea85b34 /src/StardewModdingAPI/Program.cs | |
parent | 5f85d89974c3f1974f8e3d372f12b1cac743cd3a (diff) | |
download | SMAPI-8e0d1b8682f0898e941fee16c6649f1165fde499.tar.gz SMAPI-8e0d1b8682f0898e941fee16c6649f1165fde499.tar.bz2 SMAPI-8e0d1b8682f0898e941fee16c6649f1165fde499.zip |
minor bug fixes (#361)
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 f821b559..fcfa1efc 100644 --- a/src/StardewModdingAPI/Program.cs +++ b/src/StardewModdingAPI/Program.cs @@ -642,7 +642,7 @@ namespace StardewModdingAPI Assembly modAssembly; try { - modAssembly = modAssemblyLoader.Load(metadata, assemblyPath, assumeCompatible: metadata.DataRecord.GetCompatibility(metadata.Manifest.Version)?.Status == ModStatus.AssumeCompatible); + modAssembly = modAssemblyLoader.Load(metadata, assemblyPath, assumeCompatible: metadata.DataRecord?.GetCompatibility(metadata.Manifest.Version)?.Status == ModStatus.AssumeCompatible); } catch (IncompatibleInstructionException ex) { |