summaryrefslogtreecommitdiffstats
path: root/logic/OneSixInstance.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-12-13 02:47:59 +0100
committerPetr Mrázek <peterix@gmail.com>2013-12-13 02:47:59 +0100
commit39aebddf3b6b93091aa8494f74690b4a819593d1 (patch)
tree824e2bd5a4a3c67118982d9a13bdd73914501741 /logic/OneSixInstance.cpp
parentbf34aa7fbd87eb5e21bc1bb69fc3f53c2c92d8fd (diff)
downloadMultiMC-39aebddf3b6b93091aa8494f74690b4a819593d1.tar
MultiMC-39aebddf3b6b93091aa8494f74690b4a819593d1.tar.gz
MultiMC-39aebddf3b6b93091aa8494f74690b4a819593d1.tar.lz
MultiMC-39aebddf3b6b93091aa8494f74690b4a819593d1.tar.xz
MultiMC-39aebddf3b6b93091aa8494f74690b4a819593d1.zip
Add support for 1.7.4 user_type (needs testing with legacy accounts)
Diffstat (limited to 'logic/OneSixInstance.cpp')
-rw-r--r--logic/OneSixInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/OneSixInstance.cpp b/logic/OneSixInstance.cpp
index b8d85ff5..337830a2 100644
--- a/logic/OneSixInstance.cpp
+++ b/logic/OneSixInstance.cpp
@@ -154,7 +154,7 @@ QStringList OneSixInstance::processMinecraftArgs(MojangAccountPtr account)
token_mapping["game_assets"] = reconstructAssets(d->version).absolutePath();
//TODO: this is something new and not even fully implemented in the vanilla launcher.
token_mapping["user_properties"] = "{ }";
-
+ token_mapping["user_type"] = account->currentProfile()->legacy ? "legacy" : "mojang";
// 1.7.3+ assets tokens
token_mapping["assets_root"] = absAssetsDir;
token_mapping["assets_index_name"] = version->assets;