1
0
mirror of https://github.com/packwiz/packwiz-installer.git synced 2025-08-23 01:36:31 +02:00

Download mods for both sides with --side both (fixes )

This commit is contained in:
comp500 2023-01-17 02:33:07 +00:00
parent 4e415c1e1a
commit ad951b9b44

@ -37,7 +37,7 @@ internal class DownloadTask private constructor(val metadata: IndexFile.File, va
fun isNewOptional() = isOptional && newOptional
fun correctSide() = metadata.linkedFile?.side?.hasSide(downloadSide) ?: true
fun correctSide() = metadata.linkedFile?.side?.let { downloadSide.hasSide(it) } ?: true
override val name get() = metadata.name