Remove resolveVariable calls

This commit is contained in:
Cohee 2024-06-24 01:08:24 +03:00
parent 3b03561d27
commit 80496db482

View File

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