summaryrefslogtreecommitdiff
path: root/src/SMAPI/Patches/DialogueErrorPatch.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-05 20:49:05 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-05 20:49:05 -0400
commite08979acd301792435661d2c0008469a800f8dbb (patch)
tree2c3d1b04f932e0cdb2e51a1acea179d441ce1c1b /src/SMAPI/Patches/DialogueErrorPatch.cs
parent9728fe3f347328323ff79c6c93df2ab390f6070e (diff)
downloadSMAPI-e08979acd301792435661d2c0008469a800f8dbb.tar.gz
SMAPI-e08979acd301792435661d2c0008469a800f8dbb.tar.bz2
SMAPI-e08979acd301792435661d2c0008469a800f8dbb.zip
migrate to Harmony 2.0 (#711)
Diffstat (limited to 'src/SMAPI/Patches/DialogueErrorPatch.cs')
-rw-r--r--src/SMAPI/Patches/DialogueErrorPatch.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Patches/DialogueErrorPatch.cs b/src/SMAPI/Patches/DialogueErrorPatch.cs
index 1e49826d..80029540 100644
--- a/src/SMAPI/Patches/DialogueErrorPatch.cs
+++ b/src/SMAPI/Patches/DialogueErrorPatch.cs
@@ -2,7 +2,7 @@ using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
-using Harmony;
+using HarmonyLib;
using StardewModdingAPI.Framework.Patching;
using StardewModdingAPI.Framework.Reflection;
using StardewValley;
@@ -47,7 +47,7 @@ namespace StardewModdingAPI.Patches
/// <summary>Apply the Harmony patch.</summary>
/// <param name="harmony">The Harmony instance.</param>
- public void Apply(HarmonyInstance harmony)
+ public void Apply(Harmony harmony)
{
harmony.Patch(
original: AccessTools.Constructor(typeof(Dialogue), new[] { typeof(string), typeof(NPC) }),