Merge pull request #2908 from Trial97/remove_client

remove client overrides instead of double deleting the normal ones
This commit is contained in:
Alexandru Ionut Tripon 2024-10-12 00:49:57 +03:00 committed by GitHub
commit 0b624a43d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -136,7 +136,7 @@ bool ModrinthCreationTask::updateInstance()
} }
auto old_client_overrides = Override::readOverrides("client-overrides", old_index_folder); auto old_client_overrides = Override::readOverrides("client-overrides", old_index_folder);
for (const auto& entry : old_overrides) { for (const auto& entry : old_client_overrides) {
if (entry.isEmpty()) if (entry.isEmpty())
continue; continue;
qDebug() << "Scheduling" << entry << "for removal"; qDebug() << "Scheduling" << entry << "for removal";