This commit is contained in:
Vincent Vandemeulebrouck 2021-10-30 00:42:18 +02:00
parent a97944ff89
commit d794e14bf1
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ Hooks.once("init", async function () {
game.socket.on("system.foundryvtt-reve-de-dragon", sockmsg => {
console.log(">>>>> MSG RECV", sockmsg);
RdDUtility.onSocketMesssage(sockmsg);
RdDUtility.onSocketMessage(sockmsg);
RdDCombat.onSocketMessage(sockmsg);
ChatUtility.onSocketMessage(sockmsg);
RdDActor.onSocketMessage(sockmsg);

View File

@ -622,7 +622,7 @@ export class RdDUtility {
}
/* -------------------------------------------- */
static onSocketMesssage(sockmsg) {
static onSocketMessage(sockmsg) {
switch (sockmsg.msg) {
case "msg_gm_chat_message":
return ChatUtility.handleGMChatMessage(sockmsg.data);