Command Attribute Listing: using new() instead of new T().

This commit is contained in:
Lucca Faria Ferri 2023-01-26 16:58:08 -08:00
parent 602960b8f2
commit 24618b0119

View File

@ -23,8 +23,7 @@ namespace DiIiS_NA.GameServer.CommandManager
public CommandGroupAttribute Attributes { get; private set; }
private readonly Dictionary<CommandAttribute, MethodInfo> _commands =
new Dictionary<CommandAttribute, MethodInfo>();
private readonly Dictionary<CommandAttribute, MethodInfo> _commands = new();
public void Register(CommandGroupAttribute attributes)
{