mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Moved encoding out of the basicIO if statement.
This commit is contained in:
parent
1a2e86e684
commit
5edb8f9024
1 changed files with 1 additions and 1 deletions
|
|
@ -45,9 +45,9 @@ namespace MinecraftClient
|
|||
if (args.Length >= 1 && args[args.Length - 1] == "BasicIO")
|
||||
{
|
||||
ConsoleIO.basicIO = true;
|
||||
Console.OutputEncoding = Console.InputEncoding = Encoding.UTF8;
|
||||
args = args.Where(o => !Object.ReferenceEquals(o, args[args.Length - 1])).ToArray();
|
||||
}
|
||||
Console.OutputEncoding = Console.InputEncoding = Encoding.UTF8;
|
||||
|
||||
//Process ini configuration file
|
||||
if (args.Length >= 1 && System.IO.File.Exists(args[0]) && System.IO.Path.GetExtension(args[0]).ToLower() == ".ini")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue