diff --git a/README.md b/README.md index ae47754..dd7862f 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ An all-in-one solution to all your summoning needs with NO need to import Actors Easily expandable with Hooks, and system-inclusive. Should work on any system. Just grab the **macro** from the compendium and start summoning! +### **If you want more information, see the [wiki](https://github.com/MrVauxs/foundry-summons/wiki/Macro-Arguments)!** + Built in [Svelte](https://svelte.dev/) using [TyphonJS Framework](https://github.com/typhonjs-fvtt-lib) for Foundry. ### Hooks diff --git a/src/summon/menu/SummoningMenu.svelte b/src/summon/menu/SummoningMenu.svelte index b10ad1a..bcd6a1f 100644 --- a/src/summon/menu/SummoningMenu.svelte +++ b/src/summon/menu/SummoningMenu.svelte @@ -43,7 +43,7 @@ data.creatures = loadPacks(); } else if (data.creatures instanceof CompendiumCollection) { data.creatures = loadPacks(false, false, [data.creatures.metadata]); - } else if (data.creatures.some((pack) => pack instanceof CompendiumCollection)) { + } else if (Array.isArray(data.creatures) && data.creatures.some((pack) => pack instanceof CompendiumCollection)) { data.creatures = new Promise((resolveOuter) => { data.creatures = data.creatures.map(async (pack) => { if (pack instanceof CompendiumCollection) {