Fix datapack packaging (#1044)

This commit is contained in:
Geometrically
2023-03-12 19:01:01 -07:00
committed by GitHub
parent 6d9779a497
commit e838fe30de
4 changed files with 23 additions and 36 deletions

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')) {