diff --git a/assets/json/missingno.json b/assets/json/missingno.json index 3c5b61d8..36efc78f 100644 --- a/assets/json/missingno.json +++ b/assets/json/missingno.json @@ -38,6 +38,9 @@ } } ], + "evolution_chain": { + "url": null + }, "types": [ "Bird", "Normal" diff --git a/structures/pokemon/Pokemon.js b/structures/pokemon/Pokemon.js index d9a8f14f..bda796b4 100644 --- a/structures/pokemon/Pokemon.js +++ b/structures/pokemon/Pokemon.js @@ -24,7 +24,7 @@ module.exports = class Pokemon { types: data.missingno ? missingno.types : [] }; }); - this.chain = { url: data.evolution_chain.url, data: data.missingno ? [0] : [] }; + this.chain = { url: data.evolution_chain.url, data: data.missingno ? missingno.chain : [] }; this.typesCached = data.missingno || false; this.missingno = data.missingno || false; }