Fix datapack packaging (#1044)
This commit is contained in:
1 parent
6d9779a497
commit
e838fe30de
4 files changed
+23
-36
No files matched your search
+3
-1
@@ -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')) {
|
||||
|
||||
Reference in new issue
Block a user