reduce command log verbosity
This commit is contained in:
parent
c8db03b209
commit
cd27873afb
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue