diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-11-14 23:10:12 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-11-14 23:10:12 -0500 |
commit | 33e6a6db23878d998a60757ae60789f21718673e (patch) | |
tree | b50414fee3206b1c55bbc2a7aeafa71a9c7c8d91 /src/StardewModdingAPI | |
parent | 54c0f26d5d6faaf71da4eb91bf28203390d79e71 (diff) | |
download | SMAPI-33e6a6db23878d998a60757ae60789f21718673e.tar.gz SMAPI-33e6a6db23878d998a60757ae60789f21718673e.tar.bz2 SMAPI-33e6a6db23878d998a60757ae60789f21718673e.zip |
tweak deprecation messages
Diffstat (limited to 'src/StardewModdingAPI')
-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> |