mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 00:12:32 +02:00
Missingno should be "???"
This commit is contained in:
@@ -30,6 +30,7 @@ module.exports = class Pokemon {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get displayID() {
|
get displayID() {
|
||||||
|
if (this.missingno) return '???';
|
||||||
return this.id.toString().padStart(3, '0');
|
return this.id.toString().padStart(3, '0');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user