mirror of
https://github.com/packwiz/packwiz-installer.git
synced 2025-10-17 00:14:33 +02:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
91060dcd54 |
@@ -255,8 +255,7 @@ class UpdateManager internal constructor(private val opts: Options, val ui: IUse
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (!indexFileSource.hashIsEqual(indexHash)) {
|
if (!indexFileSource.hashIsEqual(indexHash)) {
|
||||||
// TODO: throw exception
|
ui.handleExceptionAndExit(RuntimeException("Your index hash is invalid! Please run packwiz refresh on the pack again"))
|
||||||
println("I was meant to put an error message here but I'll do that later")
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (stateHandler.cancelButton) {
|
if (stateHandler.cancelButton) {
|
||||||
|
Reference in New Issue
Block a user