summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/StardewModdingAPI/Command.cs3
1 files changed, 1 insertions, 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;
}