summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Patching/GamePatcher.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Framework/Patching/GamePatcher.cs')
-rw-r--r--src/SMAPI/Framework/Patching/GamePatcher.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Framework/Patching/GamePatcher.cs b/src/SMAPI/Framework/Patching/GamePatcher.cs
index f82159d0..cdb54453 100644
--- a/src/SMAPI/Framework/Patching/GamePatcher.cs
+++ b/src/SMAPI/Framework/Patching/GamePatcher.cs
@@ -1,5 +1,5 @@
using System;
-using Harmony;
+using HarmonyLib;
namespace StardewModdingAPI.Framework.Patching
{
@@ -27,7 +27,7 @@ namespace StardewModdingAPI.Framework.Patching
/// <param name="patches">The patches to apply.</param>
public void Apply(params IHarmonyPatch[] patches)
{
- HarmonyInstance harmony = HarmonyInstance.Create("io.smapi");
+ Harmony harmony = new Harmony("io.smapi");
foreach (IHarmonyPatch patch in patches)
{
try