From cd27873afbfde0a3c6d5fd97aa12ffac60b9b5c2 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Fri, 4 Nov 2016 19:30:27 -0400 Subject: [PATCH] reduce command log verbosity --- src/StardewModdingAPI/Command.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/StardewModdingAPI/Command.cs b/src/StardewModdingAPI/Command.cs index 4a5a2074..17924c08 100644 --- a/src/StardewModdingAPI/Command.cs +++ b/src/StardewModdingAPI/Command.cs @@ -59,7 +59,7 @@ namespace StardewModdingAPI { if (this.CommandFired == null) { - Log.AsyncR("Command failed to fire because it's fire event is null: " + this.CommandName); + Log.AsyncR($"Command failed to fire because it's fire event is null: {this.CommandName}"); return; } this.CommandFired.Invoke(this, new EventArgsCommand(this)); @@ -107,7 +107,6 @@ namespace StardewModdingAPI } Command.RegisteredCommands.Add(command); - Log.Async("Registered command: " + name); return command; }