aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/updater/AutoUpdater.kt2
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)
}