fix: use selected account for offline reconnect

This commit is contained in:
Anon 2026-07-26 01:08:14 +02:00
parent 23b83a45f5
commit 1686d00f30

View file

@ -628,7 +628,7 @@ namespace MinecraftClient
ConsoleIO.WriteLineFormatted("§8" + Translations.mcc_offline, acceptnewlines: true);
result = ProtocolHandler.LoginResult.Success;
session.PlayerID = "0";
session.PlayerName = InternalConfig.Username;
session.PlayerName = InternalConfig.Account.Login;
}
else
{