From 09dda65fe0f7280836dedf764945cf9af9e844ba Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Fri, 17 May 2024 12:26:04 +0200 Subject: Fix update download lag frame (#1175) --- .../moulberry/notenoughupdates/miscfeatures/updater/AutoUpdater.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/updater/AutoUpdater.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/updater/AutoUpdater.kt index fbce87e6..3b3cb9a5 100644 --- a/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/updater/AutoUpdater.kt +++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/updater/AutoUpdater.kt @@ -132,7 +132,7 @@ object AutoUpdater { }.thenAcceptAsync({ logger.info("Update download completed, setting exit hook") updateState = UpdateState.DOWNLOADED - potentialUpdate!!.executeUpdate() + potentialUpdate!!.executePreparedUpdate() }, MinecraftExecutor.OnThread) } -- cgit