GH-1860 fix old jarmods
Names were not set for the libraries, making them return invalid things
This commit is contained in:
parent
8ace5fa91d
commit
249baf6fcf
@ -287,7 +287,7 @@ LibraryPtr OneSixVersionFormat::plusJarModFromJson(const QJsonObject &libObj, co
|
||||
// just make up something unique on the spot for the library name.
|
||||
auto uuid = QUuid::createUuid();
|
||||
QString id = uuid.toString().remove('{').remove('}');
|
||||
|
||||
out->setRawName(GradleSpecifier("org.multimc.jarmods:" + id + ":1"));
|
||||
|
||||
// filename override is the old name
|
||||
out->setFilename(libObj.value("name").toString());
|
||||
|
Loading…
Reference in New Issue
Block a user