diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-08 18:19:40 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-08 18:19:40 +0100 |
commit | a28e7e388bea2f1e4796595f91ba802accf17485 (patch) | |
tree | 9864786190c8736c6e9b881cb3b78f25e6cc2d3f /src/main/java/at | |
parent | 92d99b9afa5dfcc0267b6bb097f2699e37c0a063 (diff) | |
download | skyhanni-a28e7e388bea2f1e4796595f91ba802accf17485.tar.gz skyhanni-a28e7e388bea2f1e4796595f91ba802accf17485.tar.bz2 skyhanni-a28e7e388bea2f1e4796595f91ba802accf17485.zip |
Fixed lag spikes when downloading update.
Co-authored-by: nea <nea@nea.moe>
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/update/UpdateManager.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |