diff --git a/functions/modules/BlackNetherBricks.js b/functions/modules/BlackNetherBricks.js index 64a1a8f9..7c044df7 100644 --- a/functions/modules/BlackNetherBricks.js +++ b/functions/modules/BlackNetherBricks.js @@ -74,7 +74,7 @@ module.exports = async function(format, archive, bucket){ // Add ores to file const promises = formatData.files.map(async (fileData, id) => { - await bucket.file(path.join("packfiles", formatData.packFilesPath, fileData.name)).download().then((data) => { + await bucket.file(path.join("packfiles", moduleData.packFilesPath, fileData.name)).download().then((data) => { return archive.append(data[0], {name: path.join(fileData.path, fileData.inPackName)}); }); });