diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-07-21 22:49:53 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-07-21 22:49:53 -0400 |
commit | 92bcb8405c4dc0f4af283146a2ad6ea3a178fd06 (patch) | |
tree | 2e5bae4b7e8c1a625c2c8f1e3b8729c5ca61c8aa /src/SMAPI/Framework/Patching/GamePatcher.cs | |
parent | 7e5d77fb8c2606795af239717a596de460bc58f7 (diff) | |
parent | 72b3c9d14314a3f69a0ca9d6ac9de9de1d31943d (diff) | |
download | SMAPI-92bcb8405c4dc0f4af283146a2ad6ea3a178fd06.tar.gz SMAPI-92bcb8405c4dc0f4af283146a2ad6ea3a178fd06.tar.bz2 SMAPI-92bcb8405c4dc0f4af283146a2ad6ea3a178fd06.zip |
Merge branch 'harmony-2' into develop
Diffstat (limited to 'src/SMAPI/Framework/Patching/GamePatcher.cs')
-rw-r--r-- | src/SMAPI/Framework/Patching/GamePatcher.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/SMAPI/Framework/Patching/GamePatcher.cs b/src/SMAPI/Framework/Patching/GamePatcher.cs index ddecda08..3ce22ee9 100644 --- a/src/SMAPI/Framework/Patching/GamePatcher.cs +++ b/src/SMAPI/Framework/Patching/GamePatcher.cs @@ -1,9 +1,5 @@ using System; -#if HARMONY_2 using HarmonyLib; -#else -using Harmony; -#endif namespace StardewModdingAPI.Framework.Patching { @@ -31,11 +27,7 @@ namespace StardewModdingAPI.Framework.Patching /// <param name="patches">The patches to apply.</param> public void Apply(params IHarmonyPatch[] patches) { -#if HARMONY_2 Harmony harmony = new Harmony("SMAPI"); -#else - HarmonyInstance harmony = HarmonyInstance.Create("SMAPI"); -#endif foreach (IHarmonyPatch patch in patches) { try |