Only download the first mod in the mod sources for now

This commit is contained in:
Warren Hood 2024-08-19 22:20:23 +02:00
parent c3db525ec2
commit 21ddcc1b52

View file

@ -56,7 +56,7 @@ impl PinnedPackMeta {
|| download_side == DownloadSide::Client && m.1.client_side
|| download_side == DownloadSide::Server && m.1.server_side
}) {
for filesource in pinned_mod.source.iter() {
if let Some(filesource) = pinned_mod.source.first() {
match filesource {
crate::providers::FileSource::Download {
url,