From a5581e7443a364bfcfb838b5a395beb8bb409b17 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Wed, 2 Jun 2021 18:19:47 +0200 Subject: [PATCH] Fix: await manquant --- module/actor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/actor.js b/module/actor.js index f7c47d6e..8b95a60c 100644 --- a/module/actor.js +++ b/module/actor.js @@ -109,7 +109,7 @@ export class RdDActor extends Actor { const isPersonnage = actorData.type == "personnage"; // If the created actor has items (only applicable to duplicated actors) bypass the new actor creation logic if (actorData.items) { - let actor = super.create(actorData, options); + let actor = await super.create(actorData, options); if (isPersonnage) { await actor.checkMonnaiePresence(actorData.items); }