mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 04:44:16 +02:00
Prevent class sheet and character errors when features/domains no longer exist
This commit is contained in:
parent
da11510e02
commit
a41a2c9ee1
4 changed files with 5 additions and 3 deletions
|
|
@ -10,6 +10,7 @@ export default class ForeignDocumentUUIDArrayField extends foundry.data.fields.A
|
|||
*/
|
||||
constructor(fieldOption = {}, options = {}, context = {}) {
|
||||
super(new ForeignDocumentUUIDField(fieldOption), options, context);
|
||||
this.options.prune ??= true;
|
||||
}
|
||||
|
||||
/** @inheritdoc */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue