Skip to content

Commit

Permalink
Revert "Fix offline client reconnecting as a microsoft account"
Browse files Browse the repository at this point in the history
Could no longer reproduce said issue without this code, and a bug was reported regarding this change, so reverting it.
This reverts commit 873bd79.
  • Loading branch information
breadbyte committed Mar 16, 2024
1 parent 60ba4bd commit 706a41e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MinecraftClient/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ private static void InitializeClient()
ProtocolHandler.LoginResult result = ProtocolHandler.LoginResult.LoginRequired;

string loginLower = ToLowerIfNeed(InternalConfig.Account.Login);
if (InternalConfig.Account.Password == "-" || InternalConfig.Account.Password == string.Empty)
if (InternalConfig.Account.Password == "-")
{
ConsoleIO.WriteLineFormatted("§8" + Translations.mcc_offline, acceptnewlines: true);
result = ProtocolHandler.LoginResult.Success;
Expand Down

0 comments on commit 706a41e

Please sign in to comment.