Fix bugs when updating curseforge modpacks

Signed-off-by: clickdevin <git@clickdevin.me>
This commit is contained in:
clickdevin 2023-06-14 10:42:37 -04:00
parent a4502f44c2
commit d4f2059b78

View File

@ -153,6 +153,9 @@ bool FlameCreationTask::updateInstance()
old_files.remove(file.key());
files_iterator = files.erase(files_iterator);
if (files_iterator != files.begin())
files_iterator--;
}
}