fix: update links for Quilt metadata format

This commit is contained in:
Sefa Eyeoglu 2022-05-17 15:17:20 +02:00
parent a110d445ac
commit edbd90a4e6
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -263,7 +263,7 @@ std::shared_ptr<ModDetails> ReadFabricModInfo(QByteArray contents)
return details; return details;
} }
// https://github.com/QuiltMC/rfcs/blob/master/specification/0002-quilt.mod.json.md#the-schema_version-field // https://github.com/QuiltMC/rfcs/blob/master/specification/0002-quilt.mod.json.md
std::shared_ptr<ModDetails> ReadQuiltModInfo(QByteArray contents) std::shared_ptr<ModDetails> ReadQuiltModInfo(QByteArray contents)
{ {
QJsonParseError jsonError; QJsonParseError jsonError;
@ -273,6 +273,7 @@ std::shared_ptr<ModDetails> ReadQuiltModInfo(QByteArray contents)
std::shared_ptr<ModDetails> details = std::make_shared<ModDetails>(); std::shared_ptr<ModDetails> details = std::make_shared<ModDetails>();
// https://github.com/QuiltMC/rfcs/blob/be6ba280d785395fefa90a43db48e5bfc1d15eb4/specification/0002-quilt.mod.json.md
if (schemaVersion == 1) if (schemaVersion == 1)
{ {
auto modInfo = Json::requireObject(object.value("quilt_loader"), "Quilt mod info"); auto modInfo = Json::requireObject(object.value("quilt_loader"), "Quilt mod info");