summaryrefslogtreecommitdiffstats
path: root/logic/LegacyInstance.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-12-05 02:39:52 +0100
committerPetr Mrázek <peterix@gmail.com>2013-12-05 02:39:52 +0100
commitf028aa76bc5d28b7fc4d1ea4e194895690e9944e (patch)
tree5157fb0c4675c7f6f14c3947ab685f3b87d45610 /logic/LegacyInstance.cpp
parent613699b3626aea750093ab7eaaeccaa28c0e87c6 (diff)
downloadMultiMC-f028aa76bc5d28b7fc4d1ea4e194895690e9944e.tar
MultiMC-f028aa76bc5d28b7fc4d1ea4e194895690e9944e.tar.gz
MultiMC-f028aa76bc5d28b7fc4d1ea4e194895690e9944e.tar.lz
MultiMC-f028aa76bc5d28b7fc4d1ea4e194895690e9944e.tar.xz
MultiMC-f028aa76bc5d28b7fc4d1ea4e194895690e9944e.zip
Offline mode support, part 1
Refactor MojangAccount so it exposes a less generic interface and supports login. Hide the ugly details. Yggdrasil tasks are now only used from MojangAccount.
Diffstat (limited to 'logic/LegacyInstance.cpp')
-rw-r--r--logic/LegacyInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/LegacyInstance.cpp b/logic/LegacyInstance.cpp
index 72b6c51a..decfd39d 100644
--- a/logic/LegacyInstance.cpp
+++ b/logic/LegacyInstance.cpp
@@ -105,7 +105,7 @@ MinecraftProcess *LegacyInstance::prepareForLaunch(MojangAccountPtr account)
#endif
args << "-jar" << LAUNCHER_FILE;
- args << account->currentProfile()->name();
+ args << account->currentProfile()->name;
args << account->sessionId();
args << windowTitle;
args << windowSize;