summaryrefslogtreecommitdiffstats
path: root/api/logic/InstanceImportTask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/InstanceImportTask.cpp')
-rw-r--r--api/logic/InstanceImportTask.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/logic/InstanceImportTask.cpp b/api/logic/InstanceImportTask.cpp
index 5a824cb1..2bbdd897 100644
--- a/api/logic/InstanceImportTask.cpp
+++ b/api/logic/InstanceImportTask.cpp
@@ -297,8 +297,8 @@ void InstanceImportTask::processFlame()
m_filesNetJob.reset(new NetJob(tr("Mod download")));
for(auto result: results.files)
{
- auto path = FS::PathCombine(m_stagingPath, "minecraft/mods", result.fileName);
- auto dl = Net::Download::makeFile(result.url,path);
+ auto path = FS::PathCombine(m_stagingPath ,"minecraft", result.targetFolder, result.fileName);
+ auto dl = Net::Download::makeFile(result.url, path);
m_filesNetJob->addNetAction(dl);
}
m_modIdResolver.reset();