summaryrefslogtreecommitdiff
path: root/src/SMAPI/IReflectionHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/IReflectionHelper.cs')
-rw-r--r--src/SMAPI/IReflectionHelper.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SMAPI/IReflectionHelper.cs b/src/SMAPI/IReflectionHelper.cs
index fcebae42..60441471 100644
--- a/src/SMAPI/IReflectionHelper.cs
+++ b/src/SMAPI/IReflectionHelper.cs
@@ -48,6 +48,7 @@ namespace StardewModdingAPI
/// <param name="required">Whether to throw an exception if the field is not found.</param>
IReflectedMethod GetMethod(Type type, string name, bool required = true);
+#if !STARDEW_VALLEY_1_3
/*****
** Obsolete
*****/
@@ -114,5 +115,6 @@ namespace StardewModdingAPI
/// <param name="required">Whether to throw an exception if the private field is not found.</param>
[Obsolete("Use " + nameof(IReflectionHelper) + "." + nameof(IReflectionHelper.GetMethod) + " instead")]
IPrivateMethod GetPrivateMethod(Type type, string name, bool required = true);
+#endif
}
}