summaryrefslogtreecommitdiff
path: root/src/SMAPI.Mods.ErrorHandler/Patches/EventPatches.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-07-21 22:49:53 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-07-21 22:49:53 -0400
commit92bcb8405c4dc0f4af283146a2ad6ea3a178fd06 (patch)
tree2e5bae4b7e8c1a625c2c8f1e3b8729c5ca61c8aa /src/SMAPI.Mods.ErrorHandler/Patches/EventPatches.cs
parent7e5d77fb8c2606795af239717a596de460bc58f7 (diff)
parent72b3c9d14314a3f69a0ca9d6ac9de9de1d31943d (diff)
downloadSMAPI-92bcb8405c4dc0f4af283146a2ad6ea3a178fd06.tar.gz
SMAPI-92bcb8405c4dc0f4af283146a2ad6ea3a178fd06.tar.bz2
SMAPI-92bcb8405c4dc0f4af283146a2ad6ea3a178fd06.zip
Merge branch 'harmony-2' into develop
Diffstat (limited to 'src/SMAPI.Mods.ErrorHandler/Patches/EventPatches.cs')
-rw-r--r--src/SMAPI.Mods.ErrorHandler/Patches/EventPatches.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/SMAPI.Mods.ErrorHandler/Patches/EventPatches.cs b/src/SMAPI.Mods.ErrorHandler/Patches/EventPatches.cs
index 72863d17..390aa778 100644
--- a/src/SMAPI.Mods.ErrorHandler/Patches/EventPatches.cs
+++ b/src/SMAPI.Mods.ErrorHandler/Patches/EventPatches.cs
@@ -1,10 +1,6 @@
using System;
using System.Diagnostics.CodeAnalysis;
-#if HARMONY_2
using HarmonyLib;
-#else
-using Harmony;
-#endif
using StardewModdingAPI.Framework.Patching;
using StardewValley;
@@ -34,11 +30,7 @@ namespace StardewModdingAPI.Mods.ErrorHandler.Patches
}
/// <inheritdoc />
-#if HARMONY_2
public void Apply(Harmony harmony)
-#else
- public void Apply(HarmonyInstance harmony)
-#endif
{
harmony.Patch(
original: AccessTools.Method(typeof(Event), nameof(Event.LogErrorAndHalt)),