fix: null exception when resource patching is disabled (#85)

This commit is contained in:
bogadana 2022-07-10 12:19:09 +02:00 committed by GitHub
parent 131100ef00
commit 125fa06ca6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ internal object Patcher {
}
}
outputFileSystem.uncompress(*result.doNotCompress!!.toTypedArray())
result.doNotCompress?.let { outputFileSystem.uncompress(*it.toTypedArray()) }
}
}
}