reduce command log verbosity

This commit is contained in:
Jesse Plamondon-Willard 2016-11-04 19:30:27 -04:00
parent c8db03b209
commit cd27873afb
1 changed files with 1 additions and 2 deletions

View File

@ -59,7 +59,7 @@ namespace StardewModdingAPI
{ {
if (this.CommandFired == null) 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; return;
} }
this.CommandFired.Invoke(this, new EventArgsCommand(this)); this.CommandFired.Invoke(this, new EventArgsCommand(this));
@ -107,7 +107,6 @@ namespace StardewModdingAPI
} }
Command.RegisteredCommands.Add(command); Command.RegisteredCommands.Add(command);
Log.Async("Registered command: " + name);
return command; return command;
} }