From d794e14bf1b045338886411eae60dbbc76cf7743 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Sat, 30 Oct 2021 00:42:18 +0200 Subject: [PATCH] Fix typo --- module/rdd-main.js | 2 +- module/rdd-utility.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);