Nuke and pave the old login system
Also, account list now saves profile lists.
This commit is contained in:
parent
03652b01d2
commit
abf8408911
11 changed files with 150 additions and 120 deletions
|
@ -50,7 +50,7 @@ BaseUpdate *LegacyInstance::doUpdate()
|
|||
return new LegacyUpdate(this, this);
|
||||
}
|
||||
|
||||
MinecraftProcess *LegacyInstance::prepareForLaunch(LoginResponse response)
|
||||
MinecraftProcess *LegacyInstance::prepareForLaunch(MojangAccountPtr account)
|
||||
{
|
||||
MinecraftProcess *proc = new MinecraftProcess(this);
|
||||
|
||||
|
@ -103,8 +103,8 @@ MinecraftProcess *LegacyInstance::prepareForLaunch(LoginResponse response)
|
|||
#endif
|
||||
|
||||
args << "-jar" << LAUNCHER_FILE;
|
||||
args << response.player_name;
|
||||
args << response.session_id;
|
||||
args << account->currentProfile()->name();
|
||||
args << account->accessToken();
|
||||
args << windowTitle;
|
||||
args << windowSize;
|
||||
args << lwjgl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue