NOISSUE Add NeoForge support to mrpack importer and exporter

This commit is contained in:
arthomnix
2024-03-15 20:39:32 +00:00
parent d22707c7fc
commit 1b77965225
4 changed files with 18 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2023 arthomnix
* Copyright 2023-2024 arthomnix
*
* This source is subject to the Microsoft Public License (MS-PL).
* Please see the COPYING.md file for more information.
@@ -213,6 +213,9 @@ void InstanceExportTask::lookupSucceeded()
if (!m_settings.quiltVersion.isEmpty()) {
dependencies.insert("quilt-loader", m_settings.quiltVersion);
}
if (!m_settings.neoforgeVersion.isEmpty()) {
dependencies.insert("neoforge", m_settings.neoforgeVersion);
}
indexJson.insert("dependencies", dependencies);