removed if
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
479335dfe0
commit
5d70f4dbca
@ -394,7 +394,7 @@ bool ModrinthCreationTask::parseManifest(const QString& index_path,
|
|||||||
for (auto file : optionalFiles) {
|
for (auto file : optionalFiles) {
|
||||||
if (selectedMods.contains(file.path)) {
|
if (selectedMods.contains(file.path)) {
|
||||||
file.required = true;
|
file.required = true;
|
||||||
} else if (file.path.endsWith(".jar")) {
|
} else {
|
||||||
file.path += ".disabled";
|
file.path += ".disabled";
|
||||||
}
|
}
|
||||||
files.push_back(file);
|
files.push_back(file);
|
||||||
|
Loading…
Reference in New Issue
Block a user