We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c09a54e commit a1d27baCopy full SHA for a1d27ba
src/SampSharp.Entities/SAMP/Commands/CommandServiceBase.cs
@@ -28,7 +28,7 @@ public abstract class CommandServiceBase
28
private readonly IEntityManager _entityManager;
29
private readonly int _prefixParameters;
30
31
- private readonly Dictionary<string, List<CommandData>> _commands = new();
+ private readonly Dictionary<string, List<CommandData>> _commands = new(StringComparer.OrdinalIgnoreCase);
32
33
/// <summary>Initializes a new instance of the <see cref="CommandServiceBase" /> class.</summary>
34
protected CommandServiceBase(IEntityManager entityManager, int prefixParameters)
@@ -364,4 +364,4 @@ private sealed class CommandData
364
public MethodInvoker Invoke;
365
public Type SystemType;
366
}
367
-}
+}
0 commit comments