From 80496db482b77cc7eefc60a008adaab3701b2fcd Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Mon, 24 Jun 2024 01:08:24 +0300 Subject: [PATCH] Remove resolveVariable calls --- public/scripts/world-info.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/scripts/world-info.js b/public/scripts/world-info.js index 574aeae20..aed867326 100644 --- a/public/scripts/world-info.js +++ b/public/scripts/world-info.js @@ -1012,8 +1012,8 @@ function registerWorldInfoSlashCommands() { throw new Error('This command can only be used in chat'); } - const file = resolveVariable(args.file); - const uid = resolveVariable(value); + const file = args.file; + const uid = value; const effect = args.effect; const entries = await getEntriesFromFile(file); @@ -1050,8 +1050,8 @@ function registerWorldInfoSlashCommands() { throw new Error('This command can only be used in chat'); } - const file = resolveVariable(args.file); - const uid = resolveVariable(args.uid); + const file = args.file; + const uid = args.uid; const effect = args.effect; if (value === undefined) {