From f0e2117f70455bd9883321ae5b0bf40562f2d5de Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Wed, 20 Sep 2017 00:33:36 -0400 Subject: remove mod metadata from instruction handlers, no longer needed (#347) --- .../Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/StardewModdingAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs') diff --git a/src/StardewModdingAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs b/src/StardewModdingAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs index 1b005869..a20b8bee 100644 --- a/src/StardewModdingAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs +++ b/src/StardewModdingAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs @@ -32,13 +32,12 @@ namespace StardewModdingAPI.Framework.ModLoading.Rewriters } /// Perform the predefined logic for an instruction if applicable. - /// The mod containing the instruction. /// The assembly module containing the instruction. /// The CIL processor. /// The instruction to handle. /// Metadata for mapping assemblies to the current platform. /// Whether the mod was compiled on a different platform. - public override InstructionHandleResult Handle(IModMetadata mod, ModuleDefinition module, ILProcessor cil, Instruction instruction, PlatformAssemblyMap assemblyMap, bool platformChanged) + public override InstructionHandleResult Handle(ModuleDefinition module, ILProcessor cil, Instruction instruction, PlatformAssemblyMap assemblyMap, bool platformChanged) { if (!this.IsMatch(instruction)) return InstructionHandleResult.None; -- cgit