From aa4bc3015e7a819458404d9771b0468596465112 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 3 Dec 2018 18:17:48 -0500 Subject: fix helper.GetContentPacks removed in strict mode (#606) --- src/SMAPI/IModHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 /// The content pack version. [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 /// Get all content packs loaded for this mod. IEnumerable GetContentPacks(); -#endif } } -- cgit