diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-12-03 18:36:28 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-12-03 18:36:28 +0100 |
commit | 95e6f37d3942d4ab681e2f2484f17bbf8489c332 (patch) | |
tree | 98cc9231f0d1f2c5c935108aa075c7f0a0b65e7a /api/logic/minecraft/legacy | |
parent | e0bea1e46a8086b098248ec506b71e5f4512c70f (diff) | |
download | PrismLauncher-95e6f37d3942d4ab681e2f2484f17bbf8489c332.tar.gz PrismLauncher-95e6f37d3942d4ab681e2f2484f17bbf8489c332.tar.bz2 PrismLauncher-95e6f37d3942d4ab681e2f2484f17bbf8489c332.zip |
NOISSUE force saving of any outstanding instance component state on exit
Diffstat (limited to 'api/logic/minecraft/legacy')
-rw-r--r-- | api/logic/minecraft/legacy/LegacyInstance.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/logic/minecraft/legacy/LegacyInstance.h b/api/logic/minecraft/legacy/LegacyInstance.h index ef590cae..7ff905e7 100644 --- a/api/logic/minecraft/legacy/LegacyInstance.h +++ b/api/logic/minecraft/legacy/LegacyInstance.h @@ -34,7 +34,8 @@ public: explicit LegacyInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString &rootDir); - virtual void init() override {}; + virtual void init() override {} + virtual void saveNow() override {} /// Path to the instance's minecraft.jar QString runnableJar() const; |