diff --git a/src/SampSharp.Entities/SAMP/Commands/CommandServiceBase.cs b/src/SampSharp.Entities/SAMP/Commands/CommandServiceBase.cs index 7a0a8f0e..2bf354a1 100644 --- a/src/SampSharp.Entities/SAMP/Commands/CommandServiceBase.cs +++ b/src/SampSharp.Entities/SAMP/Commands/CommandServiceBase.cs @@ -28,7 +28,7 @@ public abstract class CommandServiceBase private readonly IEntityManager _entityManager; private readonly int _prefixParameters; - private readonly Dictionary> _commands = new(); + private readonly Dictionary> _commands = new(StringComparer.OrdinalIgnoreCase); /// Initializes a new instance of the class. protected CommandServiceBase(IEntityManager entityManager, int prefixParameters) @@ -364,4 +364,4 @@ private sealed class CommandData public MethodInvoker Invoke; public Type SystemType; } -} \ No newline at end of file +}