We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a140f9e commit fbd8e70Copy full SHA for fbd8e70
MultiAdmin/ServerIO/InputHandler.cs
@@ -444,7 +444,7 @@ public static void RandomizeInputColors()
444
try
445
{
446
Random random = new();
447
- Array colors = Enum.GetValues(typeof(ConsoleColor));
+ Array colors = Enum.GetValues<ConsoleColor>();
448
449
ConsoleColor random1 = (ConsoleColor)colors.GetValue(random.Next(colors.Length));
450
ConsoleColor random2 = (ConsoleColor)colors.GetValue(random.Next(colors.Length));
0 commit comments