Adding features on CharacterItems now adds them on the Character and relinks

This commit is contained in:
WBHarry 2025-07-31 18:47:22 +02:00
parent 3dc4daffc3
commit 682ffc04d7
4 changed files with 37 additions and 13 deletions

View file

@ -134,8 +134,7 @@ export default class BaseDataItem extends foundry.abstract.TypeDataModel {
system: {
originItemType: this.parent.type,
originId: data._id,
identifier: this.isMulticlass ? 'multiclass' : null,
subType: feature.item ? feature.type : undefined
identifier: this.isMulticlass ? 'multiclass' : null
}
},
{ inplace: false }