summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gui/pages/LegacyJarModPage.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/pages/LegacyJarModPage.cpp b/gui/pages/LegacyJarModPage.cpp
index 63a0fe46..0d480d80 100644
--- a/gui/pages/LegacyJarModPage.cpp
+++ b/gui/pages/LegacyJarModPage.cpp
@@ -113,7 +113,9 @@ void LegacyJarModPage::on_addForgeBtn_clicked()
if (entry->stale)
{
NetJob *fjob = new NetJob("Forge download");
- fjob->addNetAction(CacheDownload::make(forge->universal_url, entry));
+ auto cacheDl = CacheDownload::make(forge->universal_url, entry);
+ cacheDl->m_followRedirects = true;
+ fjob->addNetAction(cacheDl);
ProgressDialog dlg(this);
dlg.exec(fjob);
if (dlg.result() == QDialog::Accepted)