From 218f180fa013fdf0cd0d4d86d068af5f43c15269 Mon Sep 17 00:00:00 2001 From: WBHarry <89362246+WBHarry@users.noreply.github.com> Date: Wed, 20 Aug 2025 10:13:51 +0200 Subject: [PATCH] [Fix] DiceSoNice DamageRolls (#1026) * Fixed so the 3d damage dice can be seen by everyone when not whispered * Fixed typo --- module/dice/damageRoll.mjs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/module/dice/damageRoll.mjs b/module/dice/damageRoll.mjs index 427b6273..aa9e1d94 100644 --- a/module/dice/damageRoll.mjs +++ b/module/dice/damageRoll.mjs @@ -37,7 +37,13 @@ export default class DamageRoll extends DHRoll { Object.values(config.damage).flatMap(r => r.parts.map(p => p.roll)) ), diceRoll = Roll.fromTerms([pool]); - await game.dice3d.showForRoll(diceRoll, game.user, true, chatMessage.whisper, chatMessage.blind); + await game.dice3d.showForRoll( + diceRoll, + game.user, + true, + chatMessage.whisper?.length > 0 ? chatMessage.whisper : null, + chatMessage.blind + ); } await super.buildPost(roll, config, message); if (config.source?.message) {