From d5ab01cbd168cd952707a1feb9580adbba5826ec Mon Sep 17 00:00:00 2001 From: Carlos Fernandez Date: Sat, 11 Jul 2026 18:24:39 -0400 Subject: [PATCH] Use size --- module/systemRegistration/migration-handlers/base.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/systemRegistration/migration-handlers/base.mjs b/module/systemRegistration/migration-handlers/base.mjs index 88582810..14558791 100644 --- a/module/systemRegistration/migration-handlers/base.mjs +++ b/module/systemRegistration/migration-handlers/base.mjs @@ -27,8 +27,8 @@ export class MigrationHandlerBase { // todo: handle more than just migrating effects. Right now this can only migrate effects // NOTE: the preload is hardcoded, we should not hardcode it - const numActors = game.actors.length; - const numItems = game.items.length; + const numActors = game.actors.size; + const numItems = game.items.size; const finalUpdateProgress = 5; const DhProgress = game.system.api.applications.ui.DhProgress; const preRunProgress = game.packs.size;