diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-04-14 22:14:43 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-13 15:29:08 -0400 |
commit | e43f01ffce7238d40d275c47615c24b9134b4954 (patch) | |
tree | 303b91a4d0f5afa2c66ef043b8c636b6476937ec /src/SMAPI/Patches/CheckEventPreconditionErrorPatch.cs | |
parent | 36efdcfce2c76df2dd5313f6a42ddb76467cf610 (diff) | |
download | SMAPI-e43f01ffce7238d40d275c47615c24b9134b4954.tar.gz SMAPI-e43f01ffce7238d40d275c47615c24b9134b4954.tar.bz2 SMAPI-e43f01ffce7238d40d275c47615c24b9134b4954.zip |
tweak patch code style
Diffstat (limited to 'src/SMAPI/Patches/CheckEventPreconditionErrorPatch.cs')
-rw-r--r-- | src/SMAPI/Patches/CheckEventPreconditionErrorPatch.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Patches/CheckEventPreconditionErrorPatch.cs b/src/SMAPI/Patches/CheckEventPreconditionErrorPatch.cs index 74cfbfb0..c2a16391 100644 --- a/src/SMAPI/Patches/CheckEventPreconditionErrorPatch.cs +++ b/src/SMAPI/Patches/CheckEventPreconditionErrorPatch.cs @@ -42,7 +42,7 @@ namespace StardewModdingAPI.Patches { harmony.Patch( original: AccessTools.Method(typeof(GameLocation), "checkEventPrecondition"), - prefix: new HarmonyMethod(AccessTools.Method(this.GetType(), nameof(CheckEventPreconditionErrorPatch.Prefix))) + prefix: new HarmonyMethod(this.GetType(), nameof(CheckEventPreconditionErrorPatch.Prefix)) ); } |