From 706a41ee26cfa4964389a2266564d038716ca6ed Mon Sep 17 00:00:00 2001 From: breadbyte <14045257+breadbyte@users.noreply.github.com> Date: Sun, 17 Mar 2024 01:26:30 +0800 Subject: [PATCH] Revert "Fix offline client reconnecting as a microsoft account" Could no longer reproduce said issue without this code, and a bug was reported regarding this change, so reverting it. This reverts commit 873bd79fd6b6ff62924e35d562b5a80ee6b66118. --- MinecraftClient/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MinecraftClient/Program.cs b/MinecraftClient/Program.cs index 599ee7229f..6f9f76977d 100644 --- a/MinecraftClient/Program.cs +++ b/MinecraftClient/Program.cs @@ -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;