diff --git a/package-lock.json b/package-lock.json index a91749c8..b631343f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3119,7 +3119,7 @@ } }, "foundry-vtt-types": { - "version": "github:League-of-Foundry-Developers/foundry-vtt-types#7e435fb1797edcde223ded6a5e7a75ce2140bf17", + "version": "github:League-of-Foundry-Developers/foundry-vtt-types#71dbbcc8e94b8ffeb9e7295f1cb2af73f2d0c3d0", "from": "github:League-of-Foundry-Developers/foundry-vtt-types#foundry-0.7.9", "dev": true, "requires": { diff --git a/src/module/actor/sheets/actor-sheet.ts b/src/module/actor/sheets/actor-sheet.ts index ff29e4cf..61f01e0f 100644 --- a/src/module/actor/sheets/actor-sheet.ts +++ b/src/module/actor/sheets/actor-sheet.ts @@ -218,7 +218,7 @@ export class DS4ActorSheet extends ActorSheet { const roll = new Roll(dataset.roll, this.actor.data.data); const label = dataset.label ? `Rolling ${dataset.label}` : ""; roll.roll().toMessage({ - speaker: ChatMessage.getSpeaker({ actor: (this.actor as unknown) as string }), // TODO(types): Fix ChatMessage.getSpeaker in upstream + speaker: ChatMessage.getSpeaker({ actor: this.actor }), flavor: label, }); }