mirror of
https://github.com/packwiz/packwiz-installer.git
synced 2025-04-18 20:46:30 +02:00
Download mods for both sides with --side both (fixes #14)
This commit is contained in:
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user