forked from public/foundryvtt-reve-de-dragon
Sync with head
This commit is contained in:
@ -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 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user