Command Attribute Listing: using new() instead of new T().
This commit is contained in:
parent
602960b8f2
commit
24618b0119
@ -23,8 +23,7 @@ namespace DiIiS_NA.GameServer.CommandManager
|
|||||||
|
|
||||||
public CommandGroupAttribute Attributes { get; private set; }
|
public CommandGroupAttribute Attributes { get; private set; }
|
||||||
|
|
||||||
private readonly Dictionary<CommandAttribute, MethodInfo> _commands =
|
private readonly Dictionary<CommandAttribute, MethodInfo> _commands = new();
|
||||||
new Dictionary<CommandAttribute, MethodInfo>();
|
|
||||||
|
|
||||||
public void Register(CommandGroupAttribute attributes)
|
public void Register(CommandGroupAttribute attributes)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
user.block.title