More WIP on 0.8.x migration
This commit is contained in:
parent
6b39284164
commit
ba493f4f18
13 changed files with 55 additions and 38 deletions
|
@ -5,7 +5,7 @@
|
|||
import logger from "../logger";
|
||||
|
||||
export async function migrate(): Promise<void> {
|
||||
for (const a of game.actors?.entities ?? []) {
|
||||
for (const a of game.actors ?? []) {
|
||||
const updateData = getActorUpdateData();
|
||||
logger.info(`Migrating actor ${a.name}`);
|
||||
await a.update(updateData, { enforceTypes: false });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue