diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-06-15 22:17:32 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-06-15 22:17:32 -0400 |
commit | dcd2c647a2abd836e8ee20f8ddad6568c9b4fbf2 (patch) | |
tree | 5a03bc9ec491467379f5bfea85e8778500461403 /src/SMAPI/Framework/ModLoading/RewriteFacades/HarmonyMethodFacade.cs | |
parent | 6d1cd7d9b884bddd00675dfdca9f63dc7db1bd1f (diff) | |
download | SMAPI-dcd2c647a2abd836e8ee20f8ddad6568c9b4fbf2.tar.gz SMAPI-dcd2c647a2abd836e8ee20f8ddad6568c9b4fbf2.tar.bz2 SMAPI-dcd2c647a2abd836e8ee20f8ddad6568c9b4fbf2.zip |
temporarily restore Harmony 1.x support with compile flag (#711)
Diffstat (limited to 'src/SMAPI/Framework/ModLoading/RewriteFacades/HarmonyMethodFacade.cs')
-rw-r--r-- | src/SMAPI/Framework/ModLoading/RewriteFacades/HarmonyMethodFacade.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/ModLoading/RewriteFacades/HarmonyMethodFacade.cs b/src/SMAPI/Framework/ModLoading/RewriteFacades/HarmonyMethodFacade.cs index 44c97401..f3975558 100644 --- a/src/SMAPI/Framework/ModLoading/RewriteFacades/HarmonyMethodFacade.cs +++ b/src/SMAPI/Framework/ModLoading/RewriteFacades/HarmonyMethodFacade.cs @@ -1,3 +1,4 @@ +#if HARMONY_2 using System; using System.Diagnostics.CodeAnalysis; using System.Reflection; @@ -43,3 +44,4 @@ namespace StardewModdingAPI.Framework.ModLoading.RewriteFacades } } } +#endif |