Skip to content

Commit

Permalink
fix BlackNetherBricks
Browse files Browse the repository at this point in the history
  • Loading branch information
Banakin committed Aug 19, 2020
1 parent 81901e2 commit 23d536c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/modules/BlackNetherBricks.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)});
});
});
Expand Down

0 comments on commit 23d536c

Please sign in to comment.