Prevent the data migration code from preventing any editing

This commit is contained in:
Oliver-Akins 2024-02-04 19:01:39 -07:00
parent 11b721a4cb
commit f5a6c30248

View file

@ -50,8 +50,8 @@ export class MobData extends foundry.abstract.TypeDataModel {
}; };
}; };
// Called during create, read, and update
static migrateData(source) { static migrateData(source) {
console.log(`migrateData data`, source); return source;
source.dice = [];
}; };
}; };