Recherche TMR par coordonnées

This commit is contained in:
Vincent Vandemeulebrouck
2021-11-27 00:04:34 +01:00
parent ee45fee623
commit 648848aa03
3 changed files with 8 additions and 7 deletions

View File

@ -300,7 +300,7 @@ Hooks.once('diceSoNiceReady', (dice3d) => RdDDice.diceSoNiceReady(dice3d));
Hooks.on("chatMessage", (html, content, msg) => {
if (content[0] == '/') {
let regExp = /(\S+)/g;
let commands = content.toLowerCase().match(regExp);
let commands = content.match(regExp);
if (game.system.rdd.commands.processChatCommand(commands, content, msg)) {
return false;
}