mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 05:51:42 +02:00
Fix
This commit is contained in:
@@ -117,6 +117,7 @@ module.exports = class Pokemon {
|
|||||||
name: moveBody.names.find(name => name.language.name === 'en').name,
|
name: moveBody.names.find(name => name.language.name === 'en').name,
|
||||||
level: move.version_group_details[move.version_group_details.length - 1].level_learned_at
|
level: move.version_group_details[move.version_group_details.length - 1].level_learned_at
|
||||||
});
|
});
|
||||||
|
this.moveSet = this.moveSet.sort((a, b) => a.level - b.level);
|
||||||
}
|
}
|
||||||
for (const variety of this.varieties) {
|
for (const variety of this.varieties) {
|
||||||
if (variety.id === defaultVariety.id) continue;
|
if (variety.id === defaultVariety.id) continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user