summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-09-05 20:08:01 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-09-05 20:08:01 -0400
commitd7209e438d926bad7ae027ac489937dd3b4d3f8c (patch)
treea9e9c130d426e6e426ba7833df1723f6e9717ffd
parent55cd31f4f7d5122149c02abfaf0f408298503c6a (diff)
downloadSMAPI-d7209e438d926bad7ae027ac489937dd3b4d3f8c.tar.gz
SMAPI-d7209e438d926bad7ae027ac489937dd3b4d3f8c.tar.bz2
SMAPI-d7209e438d926bad7ae027ac489937dd3b4d3f8c.zip
fix code docs
-rw-r--r--src/SMAPI/Patches/EventErrorPatch.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SMAPI/Patches/EventErrorPatch.cs b/src/SMAPI/Patches/EventErrorPatch.cs
index 8fa882d4..46651387 100644
--- a/src/SMAPI/Patches/EventErrorPatch.cs
+++ b/src/SMAPI/Patches/EventErrorPatch.cs
@@ -11,7 +11,7 @@ using StardewValley;
namespace StardewModdingAPI.Patches
{
- /// <summary>A Harmony patch for the <see cref="Dialogue"/> constructor which intercepts invalid dialogue lines and logs an error instead of crashing.</summary>
+ /// <summary>A Harmony patch for <see cref="GameLocation.checkEventPrecondition"/> which intercepts invalid preconditions and logs an error instead of crashing.</summary>
/// <remarks>Patch methods must be static for Harmony to work correctly. See the Harmony documentation before renaming patch arguments.</remarks>
[SuppressMessage("ReSharper", "InconsistentNaming", Justification = "Argument names are defined by Harmony and methods are named for clarity.")]
[SuppressMessage("ReSharper", "IdentifierTypo", Justification = "Argument names are defined by Harmony and methods are named for clarity.")]
@@ -65,7 +65,7 @@ namespace StardewModdingAPI.Patches
** Private methods
*********/
#if HARMONY_2
- /// <summary>The method to call instead of the GameLocation.CheckEventPrecondition.</summary>
+ /// <summary>The method to call instead of GameLocation.checkEventPrecondition.</summary>
/// <param name="__result">The return value of the original method.</param>
/// <param name="precondition">The precondition to be parsed.</param>
/// <param name="__exception">The exception thrown by the wrapped method, if any.</param>
@@ -81,7 +81,7 @@ namespace StardewModdingAPI.Patches
return null;
}
#else
- /// <summary>The method to call instead of the GameLocation.CheckEventPrecondition.</summary>
+ /// <summary>The method to call instead of GameLocation.checkEventPrecondition.</summary>
/// <param name="__instance">The instance being patched.</param>
/// <param name="__result">The return value of the original method.</param>
/// <param name="precondition">The precondition to be parsed.</param>