mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user