From f1295ed7568afd6ed9f3bb87436eef3b6147a5cf Mon Sep 17 00:00:00 2001 From: hizumiaoba <56146205+hizumiaoba@users.noreply.github.com> Date: Sat, 19 Oct 2024 18:02:44 +0900 Subject: [PATCH] fix: fix wrong config key was applied. (#128) --- .../java/io/github/hizumiaoba/mctimemachine/MainController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/github/hizumiaoba/mctimemachine/MainController.java b/app/src/main/java/io/github/hizumiaoba/mctimemachine/MainController.java index 40b8b41..dfe7eef 100644 --- a/app/src/main/java/io/github/hizumiaoba/mctimemachine/MainController.java +++ b/app/src/main/java/io/github/hizumiaoba/mctimemachine/MainController.java @@ -157,7 +157,7 @@ void initialize() { specialBackupNowWithShortcutChkbox.isSelected() ? "true" : "false"); mainConfig.set("exit_on_quitting_minecraft", enableAutoExitOnQuittingGamesChkbox.isSelected() ? "true" : "false"); - mainConfig.set("exit_on_quitting_minecraft", + mainConfig.set("backup_on_quitting_minecraft", enableAutoBackupOnQuittingGamesChkbox.isSelected() ? "true" : "false"); mainConfig.save(); es.shutdownNow();