Fix bugs when updating curseforge modpacks
Signed-off-by: clickdevin <git@clickdevin.me>
This commit is contained in:
parent
a4502f44c2
commit
d4f2059b78
@ -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--;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user