diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-01-05 04:26:46 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-01-05 04:26:46 +0100 |
commit | 0636c03d7c08a90de5180e20dd6106c4cac34a23 (patch) | |
tree | 0e969118c1ae557dbdc2377452638ee9460f94a8 /api/logic/minecraft/MinecraftInstance.cpp | |
parent | ee341b78baf679ba7eac868ce72e313c8e49775f (diff) | |
download | MultiMC-0636c03d7c08a90de5180e20dd6106c4cac34a23.tar MultiMC-0636c03d7c08a90de5180e20dd6106c4cac34a23.tar.gz MultiMC-0636c03d7c08a90de5180e20dd6106c4cac34a23.tar.lz MultiMC-0636c03d7c08a90de5180e20dd6106c4cac34a23.tar.xz MultiMC-0636c03d7c08a90de5180e20dd6106c4cac34a23.zip |
GH-2087 remove the revert to vanilla functionality, add file download button to version page
Diffstat (limited to 'api/logic/minecraft/MinecraftInstance.cpp')
-rw-r--r-- | api/logic/minecraft/MinecraftInstance.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/api/logic/minecraft/MinecraftInstance.cpp b/api/logic/minecraft/MinecraftInstance.cpp index 49db5b75..2fda79bf 100644 --- a/api/logic/minecraft/MinecraftInstance.cpp +++ b/api/logic/minecraft/MinecraftInstance.cpp @@ -398,14 +398,8 @@ QStringList MinecraftInstance::processMinecraftArgs(AuthSessionPtr session) cons // blatant self-promotion. token_mapping["profile_name"] = token_mapping["version_name"] = "MultiMC5"; - if(m_components->isVanilla()) - { - token_mapping["version_type"] = profile->getMinecraftVersionType(); - } - else - { - token_mapping["version_type"] = "custom"; - } + + token_mapping["version_type"] = profile->getMinecraftVersionType(); QString absRootDir = QDir(minecraftRoot()).absolutePath(); token_mapping["game_directory"] = absRootDir; |