diff --git a/structures/pokemon/Pokemon.js b/structures/pokemon/Pokemon.js index d9a87812..47fd92b6 100644 --- a/structures/pokemon/Pokemon.js +++ b/structures/pokemon/Pokemon.js @@ -30,6 +30,7 @@ module.exports = class Pokemon { } get displayID() { + if (this.missingno) return '???'; return this.id.toString().padStart(3, '0'); }