summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/legacy/LegacyInstance.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-03-23 23:38:08 +0100
committerPetr Mrázek <peterix@gmail.com>2018-03-23 23:39:18 +0100
commita1c713811c5a2f514f7255436cfad836e0cf426b (patch)
tree20aa682894caf9c3af901d64f103569ae79ab5e2 /api/logic/minecraft/legacy/LegacyInstance.h
parent106155dd627d8e333260e2460d4c9c558b49b21f (diff)
downloadMultiMC-a1c713811c5a2f514f7255436cfad836e0cf426b.tar
MultiMC-a1c713811c5a2f514f7255436cfad836e0cf426b.tar.gz
MultiMC-a1c713811c5a2f514f7255436cfad836e0cf426b.tar.lz
MultiMC-a1c713811c5a2f514f7255436cfad836e0cf426b.tar.xz
MultiMC-a1c713811c5a2f514f7255436cfad836e0cf426b.zip
NOISSUE preserve minecraft.jar while migrating Legacy instances
It can be manually modded. It must be preserved when it's the only jar around.
Diffstat (limited to 'api/logic/minecraft/legacy/LegacyInstance.h')
-rw-r--r--api/logic/minecraft/legacy/LegacyInstance.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/api/logic/minecraft/legacy/LegacyInstance.h b/api/logic/minecraft/legacy/LegacyInstance.h
index 4a8bc436..7ab89509 100644
--- a/api/logic/minecraft/legacy/LegacyInstance.h
+++ b/api/logic/minecraft/legacy/LegacyInstance.h
@@ -64,6 +64,9 @@ public:
/// the default custom base jar of this instance
QString defaultCustomBaseJar() const;
+ // the main jar that we actually want to keep when migrating the instance
+ QString mainJarToPreserve() const;
+
/*!
* Whether or not custom base jar is used
*/