From 6a12013752adc64f3cd59a09030d4ebd79df78b6 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 4 Feb 2020 11:05:28 -0500 Subject: [PATCH] Add Utility Rewrites --- src/SMAPI/Framework/RewriteFacades/UtilityMethods.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/SMAPI/Framework/RewriteFacades/UtilityMethods.cs b/src/SMAPI/Framework/RewriteFacades/UtilityMethods.cs index 4409b932..b4f225ae 100644 --- a/src/SMAPI/Framework/RewriteFacades/UtilityMethods.cs +++ b/src/SMAPI/Framework/RewriteFacades/UtilityMethods.cs @@ -16,5 +16,11 @@ namespace StardewModdingAPI.Framework.RewriteFacades { return getTrashReclamationPrice(item, player, -1); } + + [SuppressMessage("ReSharper", "CS0109", Justification = "The 'new' modifier applies when compiled on Windows.")] + public static new int getRandomItemFromSeason(string season, int randomSeedAddition, bool forQuest, bool changeDaily = true) + { + return getRandomItemFromSeason(season, randomSeedAddition, forQuest); + } } }