Prevent class sheet and character errors when features/domains no longer exist

This commit is contained in:
Carlos Fernandez 2026-04-24 03:02:54 -04:00
parent da11510e02
commit a41a2c9ee1
4 changed files with 5 additions and 3 deletions

View file

@ -18,7 +18,7 @@ export default class DhParty extends BaseDataActor {
const fields = foundry.data.fields;
return {
...super.defineSchema(),
partyMembers: new ForeignDocumentUUIDArrayField({ type: 'Actor' }, { prune: true }),
partyMembers: new ForeignDocumentUUIDArrayField({ type: 'Actor' }),
notes: new fields.HTMLField(),
gold: new GoldField(),
tagTeam: new fields.EmbeddedDataField(TagTeamData),