mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 03:24:06 +09:00
various fixes
This commit is contained in:
@@ -218,7 +218,7 @@ object ModMgr {
|
||||
val hash = digester.digest(File(jarFilePath).readBytes()).joinToString("","","") { it.toInt().and(255).toString(16).uppercase().padStart(2,'0') }
|
||||
|
||||
if (jarHash != hash) {
|
||||
println("Hash expected: $jarHash, got: $hash")
|
||||
printdbg(this, "Hash expected: $jarHash, got: $hash")
|
||||
throw IllegalStateException("Module Jarfile hash mismatch")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user