mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 22:44:32 +02:00
Fix
This commit is contained in:
@@ -63,6 +63,8 @@ module.exports = class Pokemon {
|
||||
variety.types.push(...body.types.map(type => firstUpperCase(type.type.name)));
|
||||
if (variety.types[0] === defaultVariety.types[0] && variety.types[1] === defaultVariety.types[1]) {
|
||||
variety.display = false;
|
||||
} else {
|
||||
variety.display = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user