summaryrefslogtreecommitdiff
path: root/src/SMAPI/Patches/ObjectErrorPatch.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/ObjectErrorPatch.cs
parent36efdcfce2c76df2dd5313f6a42ddb76467cf610 (diff)
downloadSMAPI-e43f01ffce7238d40d275c47615c24b9134b4954.tar.gz
SMAPI-e43f01ffce7238d40d275c47615c24b9134b4954.tar.bz2
SMAPI-e43f01ffce7238d40d275c47615c24b9134b4954.zip
tweak patch code style
Diffstat (limited to 'src/SMAPI/Patches/ObjectErrorPatch.cs')
-rw-r--r--src/SMAPI/Patches/ObjectErrorPatch.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Patches/ObjectErrorPatch.cs b/src/SMAPI/Patches/ObjectErrorPatch.cs
index d72201c3..0b17b101 100644
--- a/src/SMAPI/Patches/ObjectErrorPatch.cs
+++ b/src/SMAPI/Patches/ObjectErrorPatch.cs
@@ -27,13 +27,13 @@ namespace StardewModdingAPI.Patches
// object.getDescription
harmony.Patch(
original: AccessTools.Method(typeof(SObject), nameof(SObject.getDescription)),
- prefix: new HarmonyMethod(AccessTools.Method(this.GetType(), nameof(ObjectErrorPatch.Object_GetDescription_Prefix)))
+ prefix: new HarmonyMethod(this.GetType(), nameof(ObjectErrorPatch.Object_GetDescription_Prefix))
);
// IClickableMenu.drawToolTip
harmony.Patch(
original: AccessTools.Method(typeof(IClickableMenu), nameof(IClickableMenu.drawToolTip)),
- prefix: new HarmonyMethod(AccessTools.Method(this.GetType(), nameof(ObjectErrorPatch.IClickableMenu_DrawTooltip_Prefix)))
+ prefix: new HarmonyMethod(this.GetType(), nameof(ObjectErrorPatch.IClickableMenu_DrawTooltip_Prefix))
);
}