diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-01-15 18:48:29 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-01-15 18:48:29 -0500 |
commit | 666f7ad8f9ad431c3f007d84228207e13d2ddbbc (patch) | |
tree | f26e9a1d81bd4eaaa1b2aa48aa31fa2cd0202da6 /src/SMAPI/Metadata | |
parent | f945349ed40b770c1f7788f659d4ef3980abe3ff (diff) | |
download | SMAPI-666f7ad8f9ad431c3f007d84228207e13d2ddbbc.tar.gz SMAPI-666f7ad8f9ad431c3f007d84228207e13d2ddbbc.tar.bz2 SMAPI-666f7ad8f9ad431c3f007d84228207e13d2ddbbc.zip |
tweak recent changes, update release notes
Diffstat (limited to 'src/SMAPI/Metadata')
-rw-r--r-- | src/SMAPI/Metadata/InstructionMetadata.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/SMAPI/Metadata/InstructionMetadata.cs b/src/SMAPI/Metadata/InstructionMetadata.cs index 1816e7f9..d1699636 100644 --- a/src/SMAPI/Metadata/InstructionMetadata.cs +++ b/src/SMAPI/Metadata/InstructionMetadata.cs @@ -27,7 +27,7 @@ namespace StardewModdingAPI.Metadata /// <summary>Get rewriters which detect or fix incompatible CIL instructions in mod assemblies.</summary> /// <param name="paranoidMode">Whether to detect paranoid mode issues.</param> /// <param name="platformChanged">Whether the assembly was rewritten for crossplatform compatibility.</param> - /// <param name="rewriteMods">Whether to return Rewriters</param> + /// <param name="rewriteMods">Whether to get handlers which rewrite mods for compatibility.</param> public IEnumerable<IInstructionHandler> GetHandlers(bool paranoidMode, bool platformChanged, bool rewriteMods) { /**** @@ -49,10 +49,11 @@ namespace StardewModdingAPI.Metadata yield return new HeuristicMethodRewriter(this.ValidateReferencesToAssemblies); #if HARMONY_2 - // rewrite for SMAPI 3.6 (Harmony 1.x => 2.0 update) - yield return new Harmony1AssemblyRewriter(); + // rewrite for SMAPI 3.x (Harmony 1.x => 2.0 update) + yield return new Harmony1AssemblyRewriter(); #endif } + /**** ** detect mod issues ****/ |