mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 19:51:08 +01:00
Moved methods into TypedModelData
This commit is contained in:
parent
a5aa2e914d
commit
d4754e511f
7 changed files with 83 additions and 91 deletions
|
|
@ -361,7 +361,7 @@ export default class PCSheet extends DaggerheartSheet(ActorSheetV2) {
|
|||
}
|
||||
|
||||
mapAdvancementFeatures(actor, config) {
|
||||
if (!actor.system.subclass) return { foundation: null, advancements: [] };
|
||||
if (!actor.system.class.value || !actor.system.class.subclass) return { foundation: null, advancements: [] };
|
||||
|
||||
const { subclass, multiclassSubclass } = actor.system.subclassFeatures;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue