Skip to content

Commit

Permalink
fixes #530
Browse files Browse the repository at this point in the history
  • Loading branch information
Muttley committed Oct 15, 2023
1 parent ce247ce commit eec8da7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## v.1.x.x

### Bugfixes
* [#530] Token art mapping from Pathfinder Token Pack: Bestiaries module not working
* [#531] Missing attack bonuses on the following Talents
- +1 to Melee Attacks and Damage
- +1 to Ranged Attacks and Damage
Expand Down
6 changes: 5 additions & 1 deletion system/src/utils/module-art.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ export class ModuleArt {

settings ??= {portraits: true, tokens: true};

for (const [packName, actors] of Object.entries(mapping)) {
for (let [packName, actors] of Object.entries(mapping)) {
packName = packName === "shadowdark.monster"
? "shadowdark.monsters"
: packName;

const pack = game.packs.get(packName);

if (!pack) continue;
Expand Down

0 comments on commit eec8da7

Please sign in to comment.