Fix WI field access for UID = 0

This commit is contained in:
Cohee 2023-12-07 18:45:34 +02:00
parent 72adb4c8aa
commit b1f68d886c
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ function registerWorldInfoSlashCommands() {
return ''; return '';
} }
const entry = entries.find(x => x.uid === uid); const entry = entries.find(x => String(x.uid) === String(uid));
if (!entry) { if (!entry) {
toastr.warning('Valid UID is required'); toastr.warning('Valid UID is required');