summaryrefslogtreecommitdiff
path: root/src/SMAPI/Patches/CheckEventPreconditionErrorPatch.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-04-14 22:14:43 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-13 15:29:08 -0400
commite43f01ffce7238d40d275c47615c24b9134b4954 (patch)
tree303b91a4d0f5afa2c66ef043b8c636b6476937ec /src/SMAPI/Patches/CheckEventPreconditionErrorPatch.cs
parent36efdcfce2c76df2dd5313f6a42ddb76467cf610 (diff)
downloadSMAPI-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.cs2
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))
);
}