diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-05-31 21:23:44 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-05-31 21:23:44 -0400 |
commit | bf960ce283d794a11885a5fde6f123a4e6827853 (patch) | |
tree | 00986f30b162bc511f3e010c54a0057dffdddc81 /src/SMAPI/Metadata | |
parent | 9992915f565578949cad8d9bb8ceb360e0db5c85 (diff) | |
download | SMAPI-bf960ce283d794a11885a5fde6f123a4e6827853.tar.gz SMAPI-bf960ce283d794a11885a5fde6f123a4e6827853.tar.bz2 SMAPI-bf960ce283d794a11885a5fde6f123a4e6827853.zip |
add backwards compatibility for mods using now-unused dependencies
Diffstat (limited to 'src/SMAPI/Metadata')
-rw-r--r-- | src/SMAPI/Metadata/InstructionMetadata.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/Metadata/InstructionMetadata.cs b/src/SMAPI/Metadata/InstructionMetadata.cs index 4d512546..dce0c6b1 100644 --- a/src/SMAPI/Metadata/InstructionMetadata.cs +++ b/src/SMAPI/Metadata/InstructionMetadata.cs @@ -53,6 +53,9 @@ namespace StardewModdingAPI.Metadata // detect Harmony & rewrite for SMAPI 3.12 (Harmony 1.x => 2.0 update) yield return new HarmonyRewriter(); + + // detect issues for SMAPI 4.0.0 + yield return new LegacyAssemblyFinder(); } else yield return new HarmonyRewriter(shouldRewrite: false); |