tweak deprecation meta-warning
This commit is contained in:
parent
cb5e2e34c7
commit
8743c4115a
|
@ -54,7 +54,7 @@ namespace StardewModdingAPI.Framework
|
||||||
|
|
||||||
// show SMAPI 2.0 meta-warning
|
// show SMAPI 2.0 meta-warning
|
||||||
if(this.MarkWarned("SMAPI", "SMAPI 2.0 meta-warning", "2.0"))
|
if(this.MarkWarned("SMAPI", "SMAPI 2.0 meta-warning", "2.0"))
|
||||||
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);
|
this.Monitor.Log("Some mods may stop working in SMAPI 2.0 (but they'll work fine for now). Try updating mods with 'deprecated code' warnings; if that doesn't remove the warnings, let the mod authors know about this message or see http://community.playstarbound.com/threads/135000 for details.", LogLevel.Warn);
|
||||||
|
|
||||||
// build message
|
// build message
|
||||||
string message = $"{source ?? "An unknown mod"} uses deprecated code ({nounPhrase}).";
|
string message = $"{source ?? "An unknown mod"} uses deprecated code ({nounPhrase}).";
|
||||||
|
|
Loading…
Reference in New Issue