mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-07 05:14:16 +02:00
Changed so that the ItemBrowser can take in preset.items
This commit is contained in:
parent
533421abba
commit
46af7ad228
2 changed files with 63 additions and 66 deletions
|
|
@ -440,9 +440,7 @@ export default class DhCharacterCreation extends HandlebarsApplicationMixin(Appl
|
|||
};
|
||||
|
||||
if (type === 'subclasses')
|
||||
presets.filter = {
|
||||
'system.linkedClass': { key: 'system.linkedClass', value: this.setup.class?.uuid }
|
||||
};
|
||||
presets.items = await (await foundry.utils.fromUuid(this.setup.class.uuid)).system.fetchSubclasses();
|
||||
|
||||
if (equipment.includes(type))
|
||||
presets.filter = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue