Sync with head

This commit is contained in:
2020-11-03 09:14:14 +01:00
parent e2301b1cfd
commit 34156295ea
10 changed files with 29 additions and 11 deletions

View File

@ -613,7 +613,7 @@ export class RdDUtility {
static processChatCommand( commands, content, msg ) {
// Setup new message's visibility
let rollMode = game.settings.get("core", "rollMode");
if (["gmroll", "blindroll"].includes(rollMode)) msg["whisper"] = ChatMessage.getWhisperIDs("GM");
if (["gmroll", "blindroll"].includes(rollMode)) msg["whisper"] = ChatMessage.getWhisperRecipients("GM");
if (rollMode === "blindroll") msg["blind"] = true;
msg["type"] = 0;
@ -623,7 +623,7 @@ export class RdDUtility {
if (command === "/table") {
if ( commands[1] ) {
let tableName = commands[1].toLowerCase();
table2func[tableName]();
table2func[tableName].func();
} else {
this.displayHelpTable( msg );
}