Fix WI field access for UID = 0
This commit is contained in:
parent
72adb4c8aa
commit
b1f68d886c
|
@ -295,7 +295,7 @@ function registerWorldInfoSlashCommands() {
|
|||
return '';
|
||||
}
|
||||
|
||||
const entry = entries.find(x => x.uid === uid);
|
||||
const entry = entries.find(x => String(x.uid) === String(uid));
|
||||
|
||||
if (!entry) {
|
||||
toastr.warning('Valid UID is required');
|
||||
|
|
Loading…
Reference in New Issue