diff options
author | Linnea Gräf <nea@nea.moe> | 2024-05-17 12:26:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-17 12:26:04 +0200 |
commit | 09dda65fe0f7280836dedf764945cf9af9e844ba (patch) | |
tree | f9e37c28c50eaed5600b5ffdcdf44243c2bf20b8 | |
parent | 3c46c1065dd22d7fddcb270f7c01df0ce5c710de (diff) | |
download | NotEnoughUpdates-09dda65fe0f7280836dedf764945cf9af9e844ba.tar.gz NotEnoughUpdates-09dda65fe0f7280836dedf764945cf9af9e844ba.tar.bz2 NotEnoughUpdates-09dda65fe0f7280836dedf764945cf9af9e844ba.zip |
Fix update download lag frame (#1175)
-rw-r--r-- | src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/updater/AutoUpdater.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |