Fix datapack packaging (#1044)

This commit is contained in:
Geometrically authored and GitHub committed 2023-03-12 19:01:01 -07:00
1 parent 6d9779a497
commit e838fe30de
4 files changed
+23 -36

No files matched your search

+3 -1
View File
@@ -137,7 +137,9 @@ export const createDataPackVersion = async function (
primaryZipReader.file('quilt.mod.json', JSON.stringify(quiltModJson))
}
if (loaders.includes('forge')) {
primaryZipReader.file('META-INF/mods.toml', TOML.stringify(forgeModsToml))
console.log(forgeModsToml)
console.log(TOML.stringify(forgeModsToml, { newline: '\n' }))
primaryZipReader.file('META-INF/mods.toml', TOML.stringify(forgeModsToml, { newline: '\n' }))
}
if (!newForge && loaders.includes('forge')) {