summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2018-12-03 18:17:48 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2018-12-04 23:49:08 -0500
commitaa4bc3015e7a819458404d9771b0468596465112 (patch)
tree0880c271990d94f8be070060611589f90471b2a2 /src
parent596b750ab6c80694456d1eb0b7705c4a3d1b1566 (diff)
downloadSMAPI-aa4bc3015e7a819458404d9771b0468596465112.tar.gz
SMAPI-aa4bc3015e7a819458404d9771b0468596465112.tar.bz2
SMAPI-aa4bc3015e7a819458404d9771b0468596465112.zip
fix helper.GetContentPacks removed in strict mode (#606)
Diffstat (limited to 'src')
-rw-r--r--src/SMAPI/IModHelper.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/IModHelper.cs b/src/SMAPI/IModHelper.cs
index 678339dc..b7d06f56 100644
--- a/src/SMAPI/IModHelper.cs
+++ b/src/SMAPI/IModHelper.cs
@@ -86,9 +86,9 @@ namespace StardewModdingAPI
/// <param name="version">The content pack version.</param>
[Obsolete("This method supports mods which previously had their own content packs, and shouldn't be used by new mods. It will be removed in SMAPI 3.0.")]
IContentPack CreateTransitionalContentPack(string directoryPath, string id, string name, string description, string author, ISemanticVersion version);
+#endif
/// <summary>Get all content packs loaded for this mod.</summary>
IEnumerable<IContentPack> GetContentPacks();
-#endif
}
}