diff --git a/module/actor.js b/module/actor.js index b1b570c9..24ccb9cf 100644 --- a/module/actor.js +++ b/module/actor.js @@ -1029,7 +1029,7 @@ export class RdDActor extends Actor { await this.createOwnedItem(souffle); if (options.chat) { ChatMessage.create({ - whisper: ChatMessage.getWhisperRecipients([ "GM", game.user.name] ), + whisper: ChatUtility.getWhisperRecipientsAndGMs(game.user.name), content: this.name + " subit un Souffle de Dragon : " + souffle.name }); } @@ -1051,7 +1051,7 @@ export class RdDActor extends Actor { await this.createOwnedItem(queue); if (options.chat) { ChatMessage.create({ - whisper: ChatMessage.getWhisperRecipients([ "GM", game.user.name] ), + whisper: ChatUtility.getWhisperRecipientsAndGMs(game.user.name), content: this.name + " subit une Queue de Dragon : " + queue.name }); } @@ -1085,7 +1085,7 @@ export class RdDActor extends Actor { } if (content) { ChatMessage.create({ - whisper: ChatMessage.getWhisperRecipients([ "GM", game.user.name] ), + whisper: ChatUtility.getWhisperRecipientsAndGMs(game.user.name), content: content }); }