summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/legacy
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-17 01:21:49 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-17 01:21:49 +0100
commitfd34ca5a0f4492c4b280df8aa3d9d82154b5d9bc (patch)
tree8fa95d24d9c50335378806910d8caa4073fb61ca /api/logic/minecraft/legacy
parent9cf8b42d8923454b335159b08cc6dd551afd9301 (diff)
downloadMultiMC-fd34ca5a0f4492c4b280df8aa3d9d82154b5d9bc.tar
MultiMC-fd34ca5a0f4492c4b280df8aa3d9d82154b5d9bc.tar.gz
MultiMC-fd34ca5a0f4492c4b280df8aa3d9d82154b5d9bc.tar.lz
MultiMC-fd34ca5a0f4492c4b280df8aa3d9d82154b5d9bc.tar.xz
MultiMC-fd34ca5a0f4492c4b280df8aa3d9d82154b5d9bc.zip
NOISSUE always run the ExtractNatives task during launch
The task now checks the conditions, giving the update process time to supply all the metadata.
Diffstat (limited to 'api/logic/minecraft/legacy')
-rw-r--r--api/logic/minecraft/legacy/LegacyInstance.cpp6
-rw-r--r--api/logic/minecraft/legacy/LegacyInstance.h2
2 files changed, 0 insertions, 8 deletions
diff --git a/api/logic/minecraft/legacy/LegacyInstance.cpp b/api/logic/minecraft/legacy/LegacyInstance.cpp
index 7ed2041c..f1132473 100644
--- a/api/logic/minecraft/legacy/LegacyInstance.cpp
+++ b/api/logic/minecraft/legacy/LegacyInstance.cpp
@@ -224,12 +224,6 @@ QStringList LegacyInstance::validLaunchMethods()
return {"Legacy"};
}
-
-void LegacyInstance::cleanupAfterRun()
-{
- // FIXME: delete the launcher and icons and whatnot.
-}
-
std::shared_ptr<ModList> LegacyInstance::coreModList() const
{
if (!core_mod_list)
diff --git a/api/logic/minecraft/legacy/LegacyInstance.h b/api/logic/minecraft/legacy/LegacyInstance.h
index 3db35fc9..2f30b0fd 100644
--- a/api/logic/minecraft/legacy/LegacyInstance.h
+++ b/api/logic/minecraft/legacy/LegacyInstance.h
@@ -117,8 +117,6 @@ public:
virtual std::shared_ptr<Task> createJarModdingTask() override;
virtual QString createLaunchScript(AuthSessionPtr session) override;
- virtual void cleanupAfterRun() override;
-
virtual QString typeName() const override;
bool canExport() const override