Fix dice default

This commit is contained in:
2023-03-29 23:04:02 +02:00
parent 75d562f922
commit e7f3851daa
4 changed files with 13 additions and 16 deletions

View File

@ -677,10 +677,10 @@ export class BoLDefaultRoll {
async sendChatMessage() {
let actor = BoLUtility.getActorFromRollData(this.rollData)
this._buildChatMessage(this.rollData).then(async msgFlavor => {
//console.log("MSG", msgFlavor )
let msg = await this.rollData.roll.toMessage({
user: game.user.id,
rollMode: game.settings.get("core", "rollMode"),
//whisper: BoLUtility.getWhisperRecipientsAndGMs(this.rollData.actor.name),
flavor: msgFlavor,
speaker: ChatMessage.getSpeaker({ actor: actor }),
})