From 432077945ae02e487e46693e5c45172f2f39fa09 Mon Sep 17 00:00:00 2001 From: Haxxer Date: Wed, 4 Oct 2023 19:40:59 +0100 Subject: [PATCH] Minionsss --- .github/workflows/main.yml | 5 +---- scripts/minion.js | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5478a0c..a5ff665 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -119,13 +119,10 @@ jobs: module.json \ README.md \ LICENSE \ - templates \ assets/ \ scripts/ \ styles/ \ - packs/ \ - language/ \ - lang/ + languages/ # Don't forget to add a backslash at the end of the line for any # additional files or directories! diff --git a/scripts/minion.js b/scripts/minion.js index 3f57450..e7d97bb 100644 --- a/scripts/minion.js +++ b/scripts/minion.js @@ -69,7 +69,7 @@ export function initializeMinions() { Hooks.on("midi-qol.postCheckSaves", async (workflow) => { if (!lib.getSetting(CONSTANTS.SETTING_KEYS.ENABLE_MINION_SUPER_SAVE)) return; - for (const savedToken in workflow.saves) { + for (const savedToken of workflow.saves) { if (!api.isMinion(savedToken)) continue; workflow.superSavers.add(savedToken); }