Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/SampSharp.Entities/SAMP/Commands/CommandServiceBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public abstract class CommandServiceBase
private readonly IEntityManager _entityManager;
private readonly int _prefixParameters;

private readonly Dictionary<string, List<CommandData>> _commands = new();
private readonly Dictionary<string, List<CommandData>> _commands = new(StringComparer.OrdinalIgnoreCase);

/// <summary>Initializes a new instance of the <see cref="CommandServiceBase" /> class.</summary>
protected CommandServiceBase(IEntityManager entityManager, int prefixParameters)
Expand Down Expand Up @@ -364,4 +364,4 @@ private sealed class CommandData
public MethodInvoker Invoke;
public Type SystemType;
}
}
}