diff --git a/module/rdd-sheet-utility.js b/module/rdd-sheet-utility.js index 1289aef1..9f52b7b6 100644 --- a/module/rdd-sheet-utility.js +++ b/module/rdd-sheet-utility.js @@ -26,7 +26,7 @@ export class RdDSheetUtility { destId: destItemId, targetActorId: actorId, itemId: item.id, - sourceActorId: item.actor.id, + sourceActorId: item.actor?.id, srcId: objetVersConteneur[item.id], onEnleverConteneur: () => { delete objetVersConteneur[item.id]; }, onAjouterDansConteneur: (itemId, conteneurId) => { objetVersConteneur[itemId] = conteneurId; }