From 1c181402f38d8b1771a5dff1a14f65fbb18a471b Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 25 Dec 2020 19:29:19 -0500 Subject: [PATCH] Fix --- structures/pokemon/Pokemon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structures/pokemon/Pokemon.js b/structures/pokemon/Pokemon.js index aa1b5834..4da19fbe 100644 --- a/structures/pokemon/Pokemon.js +++ b/structures/pokemon/Pokemon.js @@ -85,7 +85,7 @@ module.exports = class Pokemon { get mega() { if (!this.gameDataCached) return null; - return this.varieties.filter(variety => variety.mega); + return this.varieties.some(variety => variety.mega); } get displayID() {