diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-07-31 01:54:08 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-07-31 01:54:08 +0200 |
commit | 0c73ddee73e7383d5b81185381fa1c762fcb1147 (patch) | |
tree | 7193eb7bdd3e836ab8f150d3575d866bb2df3d9d /api/logic/minecraft/legacy | |
parent | 9965decd81b8e8ca98d610f605263ccf4ce541e1 (diff) | |
download | MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.tar MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.tar.gz MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.tar.lz MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.tar.xz MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.zip |
NOISSUE set groups for instances by not setting groups for instances
So simple. Better in every way.
Diffstat (limited to 'api/logic/minecraft/legacy')
-rw-r--r-- | api/logic/minecraft/legacy/LegacyInstance.h | 1 | ||||
-rw-r--r-- | api/logic/minecraft/legacy/LegacyUpgradeTask.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/api/logic/minecraft/legacy/LegacyInstance.h b/api/logic/minecraft/legacy/LegacyInstance.h index 42a6a5b2..619e2c83 100644 --- a/api/logic/minecraft/legacy/LegacyInstance.h +++ b/api/logic/minecraft/legacy/LegacyInstance.h @@ -34,7 +34,6 @@ public: explicit LegacyInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString &rootDir); - virtual void init() override {} virtual void saveNow() override {} /// Path to the instance's minecraft.jar diff --git a/api/logic/minecraft/legacy/LegacyUpgradeTask.cpp b/api/logic/minecraft/legacy/LegacyUpgradeTask.cpp index 3f373a9c..9a832a24 100644 --- a/api/logic/minecraft/legacy/LegacyUpgradeTask.cpp +++ b/api/logic/minecraft/legacy/LegacyUpgradeTask.cpp @@ -67,7 +67,6 @@ void LegacyUpgradeTask::copyFinished() { MinecraftInstance inst(m_globalSettings, instanceSettings, m_stagingPath); inst.setName(m_instName); - inst.init(); QString preferredVersionNumber = decideVersion(legacyInst->currentVersionId(), legacyInst->intendedVersionId()); if(preferredVersionNumber.isNull()) |