Reorder params for ease to read

(options json param at the end)
This commit is contained in:
Vincent Vandemeulebrouck
2021-01-09 19:36:19 +01:00
parent e7b9070cf1
commit b611cc9092
5 changed files with 24 additions and 25 deletions

View File

@ -91,9 +91,9 @@ export class RdDResolutionTable {
/* -------------------------------------------- */
static async displayRollData(rollData, actor = undefined, template = 'chat-resultat-general.html') {
ChatUtility.chatWithRollMode(
{ content: await RdDResolutionTable.buildRollDataHtml(rollData, actor, template) },
actor?.userName ?? game.user.name)
ChatUtility.createChatWithRollMode(actor?.userName ?? game.user.name, {
content: await RdDResolutionTable.buildRollDataHtml(rollData, actor, template)
});
}
/* -------------------------------------------- */