Merge pull request #1184 from clickdevin/develop
Fix bugs when updating curseforge modpacks
This commit is contained in:
commit
f1a6dc5332
@ -153,6 +153,9 @@ bool FlameCreationTask::updateInstance()
|
|||||||
|
|
||||||
old_files.remove(file.key());
|
old_files.remove(file.key());
|
||||||
files_iterator = files.erase(files_iterator);
|
files_iterator = files.erase(files_iterator);
|
||||||
|
|
||||||
|
if (files_iterator != files.begin())
|
||||||
|
files_iterator--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user