Prevent the data migration code from preventing any editing
This commit is contained in:
parent
11b721a4cb
commit
f5a6c30248
1 changed files with 2 additions and 2 deletions
|
|
@ -50,8 +50,8 @@ export class MobData extends foundry.abstract.TypeDataModel {
|
|||
};
|
||||
};
|
||||
|
||||
// Called during create, read, and update
|
||||
static migrateData(source) {
|
||||
console.log(`migrateData data`, source);
|
||||
source.dice = [];
|
||||
return source;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue