summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/onesix/OneSixVersionFormat.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-04-22 19:38:28 +0200
committerPetr Mrázek <peterix@gmail.com>2017-04-22 19:38:28 +0200
commit249baf6fcf0d06eb59b741be4d7bb50faea42926 (patch)
tree39c3c2216a3fea840f6c4ae7919d896a2fbd6a0e /api/logic/minecraft/onesix/OneSixVersionFormat.cpp
parent8ace5fa91d7abaadc00758e1f6eeb692f424a8ab (diff)
downloadMultiMC-249baf6fcf0d06eb59b741be4d7bb50faea42926.tar
MultiMC-249baf6fcf0d06eb59b741be4d7bb50faea42926.tar.gz
MultiMC-249baf6fcf0d06eb59b741be4d7bb50faea42926.tar.lz
MultiMC-249baf6fcf0d06eb59b741be4d7bb50faea42926.tar.xz
MultiMC-249baf6fcf0d06eb59b741be4d7bb50faea42926.zip
GH-1860 fix old jarmods
Names were not set for the libraries, making them return invalid things
Diffstat (limited to 'api/logic/minecraft/onesix/OneSixVersionFormat.cpp')
-rw-r--r--api/logic/minecraft/onesix/OneSixVersionFormat.cpp2
1 files changed, 1 insertions, 1 deletions
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());