Skip to content

Commit fe841e2

Browse files
committed
fix: chat message creation to trigger Dice So Nice!
1 parent b024fcb commit fe841e2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- Change the way to call Babele (remove deprecation)
1313

14+
### Fixed
15+
16+
- Chat message creation to trigger Dice So Nice!
17+
1418
## [12.0.0] - 2024-05-15
1519

1620
### Added

module/dice.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ function _createChatMessage(actor, rollResult, content, type = null) {
198198
content,
199199
user: game.user.id,
200200
speaker: ChatMessage.getSpeaker({ actor }),
201-
roll: rollResult,
201+
rolls: [rollResult],
202202
sound: CONFIG.sounds.dice,
203203
};
204204

0 commit comments

Comments
 (0)