diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-08-26 21:55:08 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-08-26 21:55:08 -0400 |
commit | 16161a214fddea19b908d7ca3dc0d39f81c259c8 (patch) | |
tree | e5cb86f44a675bf66dd2022644c9b4698d7e474b /src/SMAPI/Framework/ModLoading/AssemblyLoader.cs | |
parent | fd6835555ccdfecc09d87aab29b9c5cec3820720 (diff) | |
download | SMAPI-16161a214fddea19b908d7ca3dc0d39f81c259c8.tar.gz SMAPI-16161a214fddea19b908d7ca3dc0d39f81c259c8.tar.bz2 SMAPI-16161a214fddea19b908d7ca3dc0d39f81c259c8.zip |
remove now-unused instruction replace callback
Diffstat (limited to 'src/SMAPI/Framework/ModLoading/AssemblyLoader.cs')
-rw-r--r-- | src/SMAPI/Framework/ModLoading/AssemblyLoader.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Framework/ModLoading/AssemblyLoader.cs b/src/SMAPI/Framework/ModLoading/AssemblyLoader.cs index c8c1ca08..cfe4c747 100644 --- a/src/SMAPI/Framework/ModLoading/AssemblyLoader.cs +++ b/src/SMAPI/Framework/ModLoading/AssemblyLoader.cs @@ -318,11 +318,11 @@ namespace StardewModdingAPI.Framework.ModLoading rewritten |= handler.Handle(module, type, replaceWith); return rewritten; }, - rewriteInstruction: (ref Instruction instruction, ILProcessor cil, Action<Instruction> replaceWith) => + rewriteInstruction: (ref Instruction instruction, ILProcessor cil) => { bool rewritten = false; foreach (IInstructionHandler handler in handlers) - rewritten |= handler.Handle(module, cil, instruction, replaceWith); + rewritten |= handler.Handle(module, cil, instruction); return rewritten; } ); |