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