diff options
-rw-r--r-- | src/StardewModdingAPI/Framework/DeprecationManager.cs | 2 | ||||
-rw-r--r-- | src/StardewModdingAPI/Log.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/StardewModdingAPI/Framework/DeprecationManager.cs b/src/StardewModdingAPI/Framework/DeprecationManager.cs index 20549b3f..4de92bca 100644 --- a/src/StardewModdingAPI/Framework/DeprecationManager.cs +++ b/src/StardewModdingAPI/Framework/DeprecationManager.cs @@ -57,7 +57,7 @@ namespace StardewModdingAPI.Framework ? $"{source} used {nounPhrase}, which is deprecated since SMAPI {version}." : $"An unknown mod used {nounPhrase}, which is deprecated since SMAPI {version}."; message += severity != DeprecationLevel.PendingRemoval - ? " It will work fine for now, but may be removed in a future version of SMAPI." + ? " This will break in a future version of SMAPI." : " It will be removed soon, so the mod will break if it's not updated."; if (source == null) message += $"{Environment.NewLine}{Environment.StackTrace}"; diff --git a/src/StardewModdingAPI/Log.cs b/src/StardewModdingAPI/Log.cs index 9cb32576..02455f3a 100644 --- a/src/StardewModdingAPI/Log.cs +++ b/src/StardewModdingAPI/Log.cs @@ -178,7 +178,7 @@ namespace StardewModdingAPI /// <summary>Raise a deprecation warning.</summary> private static void WarnDeprecated() { - Program.DeprecationManager.Warn("an unknown mod", $"the {nameof(Log)} class", "1.1", DeprecationLevel.Notice); + Program.DeprecationManager.Warn($"the {nameof(Log)} class", "1.1", DeprecationLevel.Notice); } /// <summary>Get the name of the mod logging a message from the stack.</summary> |