diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-07-07 01:54:53 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-07-07 01:54:53 -0400 |
commit | 3b8d1e49f025e56e0442604c2e6956d77d673b0d (patch) | |
tree | 5e480218eb8aedbb37e85f1d8e5994299dfb0cd6 /src/StardewModdingAPI/Framework | |
parent | da8a56a8553258c126967a6ada950f7dfcf393e2 (diff) | |
download | SMAPI-3b8d1e49f025e56e0442604c2e6956d77d673b0d.tar.gz SMAPI-3b8d1e49f025e56e0442604c2e6956d77d673b0d.tar.bz2 SMAPI-3b8d1e49f025e56e0442604c2e6956d77d673b0d.zip |
make deprecation warnings a bit less scary until we finish first-pass SMAPI 2.0 migration
Diffstat (limited to 'src/StardewModdingAPI/Framework')
-rw-r--r-- | src/StardewModdingAPI/Framework/DeprecationManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/StardewModdingAPI/Framework/DeprecationManager.cs b/src/StardewModdingAPI/Framework/DeprecationManager.cs index cc6754b5..8750824c 100644 --- a/src/StardewModdingAPI/Framework/DeprecationManager.cs +++ b/src/StardewModdingAPI/Framework/DeprecationManager.cs @@ -54,10 +54,10 @@ namespace StardewModdingAPI.Framework // show SMAPI 2.0 meta-warning if(this.MarkWarned("SMAPI", "SMAPI 2.0 meta-warning", "2.0")) - this.Monitor.Log("Some of your mods will break in the upcoming SMAPI 2.0 release because they use obsolete APIs. Please check for a newer version of any mod showing 'may break' warnings, or let the author know about this message. For more information, see http://community.playstarbound.com/threads/135000.", LogLevel.Warn); + this.Monitor.Log("Some of your mods use deprecated code that will stop working in a future SMAPI release. Try updating mods with 'deprecated code' warnings or let the mod authors know about this message.", LogLevel.Warn); // build message - string message = $"{source ?? "An unknown mod"} may break in the upcoming SMAPI 2.0 release (detected {nounPhrase})."; + string message = $"{source ?? "An unknown mod"} uses deprecated code ({nounPhrase})."; if (source == null) message += $"{Environment.NewLine}{Environment.StackTrace}"; |