diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-12-31 14:40:42 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-02-07 22:37:59 -0500 |
commit | 0f926ca1c9d5d1323ddf10ceaa0ad4e9e7d02d3c (patch) | |
tree | 40fefca86b0d706dd322f98482a62dd23ad829ca /src/SMAPI/Framework/SCore.cs | |
parent | c4a76df4b07e9b3378f51e00909e09424ba09654 (diff) | |
download | SMAPI-0f926ca1c9d5d1323ddf10ceaa0ad4e9e7d02d3c.tar.gz SMAPI-0f926ca1c9d5d1323ddf10ceaa0ad4e9e7d02d3c.tar.bz2 SMAPI-0f926ca1c9d5d1323ddf10ceaa0ad4e9e7d02d3c.zip |
fix 'unknown mod' deprecation warnings when they occur in the Mod constructor
Diffstat (limited to 'src/SMAPI/Framework/SCore.cs')
-rw-r--r-- | src/SMAPI/Framework/SCore.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs index 27c0c40b..46e1de8d 100644 --- a/src/SMAPI/Framework/SCore.cs +++ b/src/SMAPI/Framework/SCore.cs @@ -977,6 +977,7 @@ namespace StardewModdingAPI.Framework try { modAssembly = assemblyLoader.Load(mod, assemblyPath, assumeCompatible: mod.DataRecord?.Status == ModStatus.AssumeCompatible); + this.ModRegistry.TrackAssemblies(mod, modAssembly); } catch (IncompatibleInstructionException) // details already in trace logs { |