From 23d536ccdcbd489a6a139f4064c498d7cde491b2 Mon Sep 17 00:00:00 2001 From: Banakin Date: Wed, 19 Aug 2020 14:48:31 -0400 Subject: [PATCH] fix BlackNetherBricks --- functions/modules/BlackNetherBricks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)}); }); });