updated puckochat and changed version

This commit is contained in:
KungKurt 2025-02-16 18:49:32 +01:00
parent 5ca93d73f6
commit 6ec3491c01
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
"authors": [
{ "name": "Robin Riis" }
],
"version": "0.1.3",
"version": "0.1.4",
"socket": true,
"minimumCoreVersion": 10,
"compatibility": {

View File

@ -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);