From 45d8cac5a9a51c4affde4b4192cbd7eeb15207dd Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sat, 1 Mar 2025 14:30:18 +0200 Subject: [PATCH] Fix /go command --- public/scripts/slash-commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/slash-commands.js b/public/scripts/slash-commands.js index 48d812b85..764dafbf4 100644 --- a/public/scripts/slash-commands.js +++ b/public/scripts/slash-commands.js @@ -3324,7 +3324,7 @@ async function goToCharacterCallback(_, name) { const character = findChar({ name: name }); if (character) { const chid = getCharIndex(character); - await openChat(new String(chid)); + await openChat(String(chid)); setActiveCharacter(character.avatar); setActiveGroup(null); return character.name;