Fix linking world item subclasses

This commit is contained in:
Carlos Fernandez 2026-06-09 04:08:51 -04:00
parent b884130826
commit c24410ea21
6 changed files with 17 additions and 10 deletions

View file

@ -441,9 +441,8 @@ export default class DhCharacterCreation extends HandlebarsApplicationMixin(Appl
if (type === 'subclasses') {
const classItem = this.setup.class;
const uuid = classItem?._stats.compendiumSource ?? classItem?.uuid;
presets.filter = {
'system.linkedClass': { key: 'system.linkedClass', value: uuid }
'system.linkedClass': { key: 'system.linkedClass', value: classItem?.sourceUuid }
};
}