diff options
author | Andrew <forkk@forkk.net> | 2013-11-20 18:31:15 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-11-20 18:31:15 -0600 |
commit | abf8408911c057d8aafe90790f5d2f5de0e1d97c (patch) | |
tree | b6b77a485702c0a7ac45b5b96d6b8b0f41c14af7 /logic/LegacyInstance.cpp | |
parent | 03652b01d2ec8a7c54fb39dd8ed660f0bbc2fa2a (diff) | |
download | PrismLauncher-abf8408911c057d8aafe90790f5d2f5de0e1d97c.tar.gz PrismLauncher-abf8408911c057d8aafe90790f5d2f5de0e1d97c.tar.bz2 PrismLauncher-abf8408911c057d8aafe90790f5d2f5de0e1d97c.zip |
Nuke and pave the old login system
Also, account list now saves profile lists.
Diffstat (limited to 'logic/LegacyInstance.cpp')
-rw-r--r-- | logic/LegacyInstance.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/logic/LegacyInstance.cpp b/logic/LegacyInstance.cpp index 9a91b839..3a337140 100644 --- a/logic/LegacyInstance.cpp +++ b/logic/LegacyInstance.cpp @@ -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; |