mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix offline client reconnecting as a microsoft account
Consider an empty string as a blank password as well as the default dash.
This commit is contained in:
parent
5f4227ad11
commit
873bd79fd6
1 changed files with 1 additions and 1 deletions
|
|
@ -406,7 +406,7 @@ namespace MinecraftClient
|
|||
ProtocolHandler.LoginResult result = ProtocolHandler.LoginResult.LoginRequired;
|
||||
|
||||
string loginLower = ToLowerIfNeed(InternalConfig.Account.Login);
|
||||
if (InternalConfig.Account.Password == "-")
|
||||
if (InternalConfig.Account.Password == "-" || InternalConfig.Account.Password == string.Empty)
|
||||
{
|
||||
ConsoleIO.WriteLineFormatted("§8" + Translations.mcc_offline, acceptnewlines: true);
|
||||
result = ProtocolHandler.LoginResult.Success;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue