From fdbd5b0efe0da9dcba7b65028c249fbe35132213 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 20 Jan 2021 18:31:37 -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 f95dfaf1..3fbad17f 100644 --- a/structures/pokemon/Pokemon.js +++ b/structures/pokemon/Pokemon.js @@ -78,7 +78,7 @@ module.exports = class Pokemon { } get generation() { - if (this.id < 898) return null; + if (this.id > 898) return null; if (this.id >= 810) return 8; if (this.id >= 722) return 7; if (this.id >= 650) return 6;