diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-03-12 19:45:28 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-04-07 00:20:01 +0200 |
commit | 2980322c3b34b252ead838daee7a844853feccf6 (patch) | |
tree | 4eba831705c497075d30391423a167ebc1c136fc /api/logic/minecraft/forge/ForgeInstaller.cpp | |
parent | 8321187a20eec9871f327aa23f421e79dcfdd409 (diff) | |
download | PrismLauncher-2980322c3b34b252ead838daee7a844853feccf6.tar.gz PrismLauncher-2980322c3b34b252ead838daee7a844853feccf6.tar.bz2 PrismLauncher-2980322c3b34b252ead838daee7a844853feccf6.zip |
NOISSUE Remove Minecraft version list and versions.
Diffstat (limited to 'api/logic/minecraft/forge/ForgeInstaller.cpp')
-rw-r--r-- | api/logic/minecraft/forge/ForgeInstaller.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/api/logic/minecraft/forge/ForgeInstaller.cpp b/api/logic/minecraft/forge/ForgeInstaller.cpp index a9c12fcd..f7ce4dec 100644 --- a/api/logic/minecraft/forge/ForgeInstaller.cpp +++ b/api/logic/minecraft/forge/ForgeInstaller.cpp @@ -23,7 +23,6 @@ #include "minecraft/onesix/OneSixInstance.h" #include <minecraft/onesix/OneSixVersionFormat.h> #include "minecraft/VersionFilterData.h" -#include "minecraft/MinecraftVersion.h" #include "Env.h" #include "Exception.h" #include <FileSystem.h> @@ -137,6 +136,9 @@ void ForgeInstaller::prepare(const QString &filename, const QString &universalUr bool ForgeInstaller::add(OneSixInstance *to) { + return false; + // TODO: move to python code. +/* if (!BaseInstaller::add(to)) { return false; @@ -286,10 +288,14 @@ bool ForgeInstaller::add(OneSixInstance *to) file.commit(); return true; + */ } bool ForgeInstaller::addLegacy(OneSixInstance *to) { + return false; + //FIXME: move to python code. + /* if (!BaseInstaller::add(to)) { return false; @@ -339,6 +345,7 @@ bool ForgeInstaller::addLegacy(OneSixInstance *to) file.write(QJsonDocument(obj).toJson()); file.close(); return true; + */ } class ForgeInstallTask : public Task |