Fix deprecation warnings for v12
This commit is contained in:
parent
2df7d2243f
commit
484c7a375c
17 changed files with 17 additions and 17 deletions
|
|
@ -10,7 +10,7 @@ export class AspectItemData extends DescribedItemData {
|
|||
delete parentSchema.quantity_affects_used_capacity;
|
||||
delete parentSchema.usage_cost;
|
||||
|
||||
return mergeObject(parentSchema, {
|
||||
return foundry.utils.mergeObject(parentSchema, {
|
||||
used: new fields.BooleanField({ initial: false }),
|
||||
/** The number of seconds that the effect of the aspect stays */
|
||||
deactivateAfter: new fields.NumberField({ nullable: true }),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue