diff --git a/module/actor.js b/module/actor.js
index c4c6574f..5896c653 100644
--- a/module/actor.js
+++ b/module/actor.js
@@ -1503,9 +1503,10 @@ export class RdDActor extends Actor {
let xpResult = this.appliquerExperience(rollData.rolled, rollData.selectedCarac.label, rollData.competence);
if (display && xpResult.result) {
let xpmsg = "
Points d'expérience gagnés ! Carac: " + xpResult.xpCarac + ", Comp: " + xpResult.xpCompetence;
- let message = ChatUtility.prepareChatMessage('gmroll', [ "GM", this.name ] );
- message.content = "" + rollData.selectedCarac.label + ""
- + xpmsg;
+ let message = {
+ whisher: ChatMessage.getWhisperRecipients( ["GM", this.name ] ),
+ content: "" + rollData.selectedCarac.label + "" + xpmsg,
+ }
ChatMessage.create(message);
}
if (xpResult && xpResult.xpComp > 0 && rollData.competence) {
diff --git a/system.json b/system.json
index 1fd18dc5..3f67ddb6 100644
--- a/system.json
+++ b/system.json
@@ -2,7 +2,7 @@
"name": "foundryvtt-reve-de-dragon",
"title": "Rêve de Dragon",
"description": "Rêve de Dragon RPG for FoundryVTT",
- "version": "1.2.21",
+ "version": "1.2.22",
"manifestPlusVersion": "1.0.0",
"minimumCoreVersion": "0.7.5",
"compatibleCoreVersion": "0.7.8",