Log de l'actor dont les sorts sont migrés
This commit is contained in:
parent
8f127bc66b
commit
7785851719
@ -16,7 +16,7 @@ class _10_0_16_MigrationSortsReserve extends Migration {
|
||||
.filter((actor) => actor.system.reve?.reserve?.list?.length ?? 0 > 0)
|
||||
.forEach(async (actor) => {
|
||||
const sortsReserve = actor.system.reve.reserve.list.map(this.conversionSortReserve);
|
||||
console.log(LOG_HEAD + "Migration des sorts ", sortsReserve);
|
||||
console.log(`${LOG_HEAD} Migration des sorts en réserve de ${actor.name}`, sortsReserve);
|
||||
await actor.createEmbeddedDocuments("Item", sortsReserve, {
|
||||
renderSheet: false,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user