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

@ -9,7 +9,7 @@ export class PetItemData extends DescribedItemData {
delete parentSchema.quantity_affects_used_capacity;
delete parentSchema.usage_cost;
return mergeObject(parentSchema, {
return foundry.utils.mergeObject(parentSchema, {
upkeep: new fields.NumberField({ initial: null, nullable: true }),
pokeballd: new fields.BooleanField({ initial: true }),
});