summaryrefslogtreecommitdiff
path: root/src/SMAPI/IModHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/IModHelper.cs')
-rw-r--r--src/SMAPI/IModHelper.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SMAPI/IModHelper.cs b/src/SMAPI/IModHelper.cs
index 15e4ed8d..a44d92c1 100644
--- a/src/SMAPI/IModHelper.cs
+++ b/src/SMAPI/IModHelper.cs
@@ -1,4 +1,6 @@
+#if SMAPI_DEPRECATED
using System;
+#endif
using StardewModdingAPI.Events;
namespace StardewModdingAPI
@@ -25,9 +27,11 @@ namespace StardewModdingAPI
/// <remarks>This API is intended for reading content assets from the mod files (like game data, images, etc); see also <see cref="Data"/> which is intended for persisting internal mod data.</remarks>
IModContentHelper ModContent { get; }
+#if SMAPI_DEPRECATED
/// <summary>An API for loading content assets.</summary>
[Obsolete($"Use {nameof(IGameContentHelper)} or {nameof(IModContentHelper)} instead.")]
IContentHelper Content { get; }
+#endif
/// <summary>An API for managing content packs.</summary>
IContentPackHelper ContentPacks { get; }