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 873bd79fd6.
This commit is contained in:
breadbyte 2024-03-17 01:26:30 +08:00
parent 60ba4bd6c2
commit 706a41ee26

View file

@ -411,7 +411,7 @@ namespace MinecraftClient
ProtocolHandler.LoginResult result = ProtocolHandler.LoginResult.LoginRequired; ProtocolHandler.LoginResult result = ProtocolHandler.LoginResult.LoginRequired;
string loginLower = ToLowerIfNeed(InternalConfig.Account.Login); 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); ConsoleIO.WriteLineFormatted("§8" + Translations.mcc_offline, acceptnewlines: true);
result = ProtocolHandler.LoginResult.Success; result = ProtocolHandler.LoginResult.Success;