Fix deprecation warnings for v12

This commit is contained in:
Oliver-Akins 2024-04-18 17:37:18 -06:00
parent 2df7d2243f
commit 484c7a375c
17 changed files with 17 additions and 17 deletions

View file

@ -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 }),