mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 01:57:54 +02:00
Fix
This commit is contained in:
@@ -41,6 +41,7 @@ module.exports = class PokemonStore extends Collection {
|
||||
this.smogonData[gen.toLowerCase()] = JSON.parse(text.match(/dexSettings = ({.+})/i)[1])
|
||||
.injectRpcs[1][1]
|
||||
.pokemon
|
||||
.filter(pkmn => pkmn.oob)
|
||||
.map(pkmn => ({ id: pkmn.oob.dex_number, formats: pkmn.formats }));
|
||||
return this.smogonData[gen.toLowerCase()];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user