diff --git a/module/rdd-main.js b/module/rdd-main.js index 60bc9f45..110090d3 100644 --- a/module/rdd-main.js +++ b/module/rdd-main.js @@ -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); diff --git a/module/rdd-utility.js b/module/rdd-utility.js index 89ec1f16..59c24956 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -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);