This commit is contained in:
Dragon Fire
2021-01-20 18:05:18 -05:00
parent 1dca3ae20b
commit 4659409f06
3 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ module.exports = class Pokemon {
}
get smogonURL() {
if (this.missingno) return null;
if (this.missingno) return missingno.url;
return `https://www.smogon.com/dex/${this.id > 807 ? 'ss' : 'sm'}/pokemon/${this.slug}/`;
}