GH-1853 fix FTB and parsing of old version files
This commit is contained in:
parent
2aaf9827a6
commit
07cde802e4
@ -59,6 +59,7 @@ void FTBProfileStrategy::loadDefaultBuiltinPatches()
|
|||||||
|
|
||||||
// adapt the loaded file - the FTB patch file format is different than ours.
|
// adapt the loaded file - the FTB patch file format is different than ours.
|
||||||
file->minecraftVersion.clear();
|
file->minecraftVersion.clear();
|
||||||
|
file->mainJar = nullptr;
|
||||||
for(auto addLib: file->libraries)
|
for(auto addLib: file->libraries)
|
||||||
{
|
{
|
||||||
addLib->setHint("local");
|
addLib->setHint("local");
|
||||||
|
@ -160,6 +160,7 @@ VersionFilePtr OneSixVersionFormat::versionFileFromJson(const QJsonDocument &doc
|
|||||||
{
|
{
|
||||||
lib->setAbsoluteUrl(URLConstants::getLegacyJarUrl(out->minecraftVersion));
|
lib->setAbsoluteUrl(URLConstants::getLegacyJarUrl(out->minecraftVersion));
|
||||||
}
|
}
|
||||||
|
out->mainJar = lib;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* removed features that shouldn't be used */
|
/* removed features that shouldn't be used */
|
||||||
|
Loading…
Reference in New Issue
Block a user