From 6ec3491c01f541ca0dd0cbffa156ec592fd58490 Mon Sep 17 00:00:00 2001 From: KungKurt Date: Sun, 16 Feb 2025 18:49:32 +0100 Subject: [PATCH] updated puckochat and changed version --- module.json | 2 +- scripts/puckochat/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module.json b/module.json index 3288577..a1e0f3f 100644 --- a/module.json +++ b/module.json @@ -6,7 +6,7 @@ "authors": [ { "name": "Robin Riis" } ], - "version": "0.1.3", + "version": "0.1.4", "socket": true, "minimumCoreVersion": 10, "compatibility": { diff --git a/scripts/puckochat/main.js b/scripts/puckochat/main.js index e1c764a..16c20d9 100644 --- a/scripts/puckochat/main.js +++ b/scripts/puckochat/main.js @@ -9,7 +9,7 @@ Hooks.on("ready", async function() { }); Hooks.on("chatMessage", (log, message, data) => { - to_send = ""; + let to_send = ""; console.log("[puckoprutt] chat!"); if(message[0] === "!") to_send = puckocommand(isGM, user, world, log, message.slice(1).split(" "), data);