This commit is contained in:
WBHarry 2025-08-06 10:56:21 +02:00
parent 0bb20b2ddc
commit d01965e5b9
20 changed files with 146 additions and 67 deletions

View file

@ -34,7 +34,7 @@ export default class MulticlassChoiceDialog extends HandlebarsApplicationMixin(A
const context = await super._prepareContext(_options);
context.multiclass = this.multiclass;
context.domainChoices = this.multiclass.domains.map(value => {
const domain = CONFIG.DH.DOMAIN.domains[value];
const domain = CONFIG.DH.DOMAIN.allDomains()[value];
return {
value: value,
label: game.i18n.localize(domain.label),