diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-02-16 13:59:13 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-02-16 13:59:13 -0500 |
commit | 16c362f4c5949b463107e88b4b49e1e49cc395d7 (patch) | |
tree | 24121155137696a896511c7fbe631d686aba3f01 /src/StardewModdingAPI/Command.cs | |
parent | f8866ac4a81ad02f6f06391372ad1b32e6cfdb68 (diff) | |
download | SMAPI-16c362f4c5949b463107e88b4b49e1e49cc395d7.tar.gz SMAPI-16c362f4c5949b463107e88b4b49e1e49cc395d7.tar.bz2 SMAPI-16c362f4c5949b463107e88b4b49e1e49cc395d7.zip |
increase all notice deprecations to info, tweak deprecation message format
Diffstat (limited to 'src/StardewModdingAPI/Command.cs')
-rw-r--r-- | src/StardewModdingAPI/Command.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/StardewModdingAPI/Command.cs b/src/StardewModdingAPI/Command.cs index 6b056ce7..e2d08538 100644 --- a/src/StardewModdingAPI/Command.cs +++ b/src/StardewModdingAPI/Command.cs @@ -94,7 +94,7 @@ namespace StardewModdingAPI /// <param name="monitor">Encapsulates monitoring and logging.</param> public static void CallCommand(string input, IMonitor monitor) { - Command.DeprecationManager.Warn("Command.CallCommand", "1.9", DeprecationLevel.Notice); + Command.DeprecationManager.Warn("Command.CallCommand", "1.9", DeprecationLevel.Info); Command.CommandManager.Trigger(input); } @@ -107,7 +107,7 @@ namespace StardewModdingAPI name = name?.Trim().ToLower(); // raise deprecation warning - Command.DeprecationManager.Warn("Command.RegisterCommand", "1.9", DeprecationLevel.Notice); + Command.DeprecationManager.Warn("Command.RegisterCommand", "1.9", DeprecationLevel.Info); // validate if (Command.LegacyCommands.ContainsKey(name)) @@ -130,7 +130,7 @@ namespace StardewModdingAPI /// <param name="name">The command name to find.</param> public static Command FindCommand(string name) { - Command.DeprecationManager.Warn("Command.FindCommand", "1.9", DeprecationLevel.Notice); + Command.DeprecationManager.Warn("Command.FindCommand", "1.9", DeprecationLevel.Info); if (name == null) return null; |