From 0d70d9ef839af4a7c79b0a7f28674c9106811607 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Thu, 28 Apr 2022 00:17:40 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20drag&drop=20de=20tokens=20de=20v=C3=A9hi?= =?UTF-8?q?cule?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Erreur lors de l'update de l'acteur: You must provide an _id for every object in the update data Array. ... at async RdDActor.updateAttributeValue (actor.js:1079:5) at async RdDActor.computeMalusArmure (actor.js:1352:7) at async RdDActor.computeEncombrementTotalEtMalusArmure (actor.js:1333:7) --- module/actor-vehicule-sheet.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/actor-vehicule-sheet.js b/module/actor-vehicule-sheet.js index 1d39f106..43b20810 100644 --- a/module/actor-vehicule-sheet.js +++ b/module/actor-vehicule-sheet.js @@ -68,6 +68,9 @@ export class RdDActorVehiculeSheet extends ActorSheet { return formData; } + async computeMalusArmure() { + // pas de malus armure + } /* -------------------------------------------- */ async _onDropItem(event, dragData) { const destItemId = $(event.target)?.closest('.item').attr('data-item-id');