mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Added Minecraft Client GUI v1.0 to the repository
+ Some BasicIO fixes to Minecraft Console Client
This commit is contained in:
parent
84b8b9da2a
commit
f26ff323fd
18 changed files with 7413 additions and 9 deletions
|
|
@ -151,18 +151,21 @@ namespace MinecraftClient
|
|||
|
||||
if (Settings.Login == "")
|
||||
{
|
||||
Console.Write("Username : ");
|
||||
Console.Write(ConsoleIO.basicIO ? "Please type the username of your choice.\n" : "Username : ");
|
||||
Settings.Login = Console.ReadLine();
|
||||
}
|
||||
if (Settings.Password == "")
|
||||
{
|
||||
Console.Write("Password : ");
|
||||
Console.Write(ConsoleIO.basicIO ? "Please type the password for " + Settings.Login + ".\n" : "Password : ");
|
||||
Settings.Password = Console.ReadLine();
|
||||
|
||||
//Hide the password
|
||||
Console.CursorTop--;
|
||||
Console.Write("Password : <******>");
|
||||
for (int i = 19; i < Console.BufferWidth; i++) { Console.Write(' '); }
|
||||
if (!ConsoleIO.basicIO)
|
||||
{
|
||||
//Hide the password
|
||||
Console.CursorTop--;
|
||||
Console.Write("Password : <******>");
|
||||
for (int i = 19; i < Console.BufferWidth; i++) { Console.Write(' '); }
|
||||
}
|
||||
}
|
||||
|
||||
startupargs = args;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue