From 27667c754e47830e6e97e29c8ba4f394152de48b Mon Sep 17 00:00:00 2001 From: Ashe Date: Thu, 13 Jun 2024 09:16:12 +0200 Subject: [PATCH] Update 4.3.2. Resolves #779 Resolves an issue with opening the Token Configuration Screen as well as an issue with the Mass Generator. --- src/module/apps/species-mass-generator/sheet.js | 4 ++-- static/templates/config/token/token-config.hbs | 2 +- system.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/module/apps/species-mass-generator/sheet.js b/src/module/apps/species-mass-generator/sheet.js index dc082106f..4a51e8819 100644 --- a/src/module/apps/species-mass-generator/sheet.js +++ b/src/module/apps/species-mass-generator/sheet.js @@ -158,10 +158,10 @@ export class PTUSpeciesMassGenerator extends FormApplication { for (const result of results) { const species = await (() => { switch (result.type) { - case 1: { + case CONST.TABLE_RESULT_TYPES.DOCUMENT: { return game.items.get(result.documentId) } - case 2: { + case CONST.TABLE_RESULT_TYPES.COMPENDIUM: { return game.packs.get(result.documentCollection).getDocument(result.documentId) } } diff --git a/static/templates/config/token/token-config.hbs b/static/templates/config/token/token-config.hbs index c50c0ce87..aa7cf0146 100644 --- a/static/templates/config/token/token-config.hbs +++ b/static/templates/config/token/token-config.hbs @@ -19,7 +19,7 @@ {{> "templates/scene/parts/token-vision.html"}} - {{> "templates/scene/parts/token-lighting.html"}} + {{> "templates/scene/parts/token-lighting.hbs"}} {{> "templates/scene/parts/token-resources.html"}} diff --git a/system.json b/system.json index 66c1472e0..d847a8feb 100644 --- a/system.json +++ b/system.json @@ -7,7 +7,7 @@ "verified": "12.327", "maximum": 12 }, - "version": "4.3.1", + "version": "4.3.2", "templateVersion": 2, "authors": [ {