From a28e7e388bea2f1e4796595f91ba802accf17485 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Fri, 8 Dec 2023 18:19:40 +0100 Subject: Fixed lag spikes when downloading update. Co-authored-by: nea --- .../java/at/hannibal2/skyhanni/features/misc/update/UpdateManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/update/UpdateManager.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/update/UpdateManager.kt index 2a35519e9..407a49a2a 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/update/UpdateManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/update/UpdateManager.kt @@ -115,7 +115,7 @@ object UpdateManager { }.thenAcceptAsync({ logger.log("Update download completed, setting exit hook") updateState = UpdateState.DOWNLOADED - potentialUpdate!!.executeUpdate() + potentialUpdate!!.executePreparedUpdate() }, MinecraftExecutor.OnThread) } -- cgit