From 249baf6fcf0d06eb59b741be4d7bb50faea42926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 22 Apr 2017 19:38:28 +0200 Subject: GH-1860 fix old jarmods Names were not set for the libraries, making them return invalid things --- api/logic/minecraft/onesix/OneSixVersionFormat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/logic') diff --git a/api/logic/minecraft/onesix/OneSixVersionFormat.cpp b/api/logic/minecraft/onesix/OneSixVersionFormat.cpp index e27389b6..cded5e9d 100644 --- a/api/logic/minecraft/onesix/OneSixVersionFormat.cpp +++ b/api/logic/minecraft/onesix/OneSixVersionFormat.cpp @@ -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()); -- cgit v1.2.3