mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-31 00:50:45 +01:00
Minor log line
This commit is contained in:
@@ -29,13 +29,17 @@ namespace Tgstation.Server.Host.Components.Chat
|
||||
public IEnumerable<CustomCommand> CustomCommands
|
||||
{
|
||||
get => customCommands;
|
||||
set => customCommands = (value ?? throw new InvalidOperationException("value cannot be null!"))
|
||||
set
|
||||
{
|
||||
customCommands = (value ?? throw new InvalidOperationException("value cannot be null!"))
|
||||
.Select(customCommand =>
|
||||
{
|
||||
customCommand.SetHandler(customCommandHandler);
|
||||
return customCommand;
|
||||
})
|
||||
.ToList();
|
||||
logger.LogTrace("Custom commands set.");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user