From 28b2c5bb77212eb0bf838d4dd42e2aa2e089601d Mon Sep 17 00:00:00 2001 From: En Passant Date: Wed, 25 Oct 2023 01:38:39 -0600 Subject: [PATCH] Items ratings/isNonstandard Minor fix Node said to do --- src/battle-dex-search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle-dex-search.ts b/src/battle-dex-search.ts index a9741b9ac8..0e73bfe4b6 100644 --- a/src/battle-dex-search.ts +++ b/src/battle-dex-search.ts @@ -1212,7 +1212,7 @@ class BattleItemSearch extends BattleTypedSearch<'item'> { const id = row[1]; let item = this.dex.items.get(id); if (!item.exists || item.isNonstandard) { - if (item.isNonstandard != "Past" || this.formatType != "natdex") { + if (item.isNonstandard !== "Past" || this.formatType !== 'natdex') { results.splice(i, 1); continue; }