mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 22:32:52 +02:00
Fix
This commit is contained in:
@@ -85,7 +85,7 @@ module.exports = class Pokemon {
|
|||||||
|
|
||||||
get mega() {
|
get mega() {
|
||||||
if (!this.gameDataCached) return null;
|
if (!this.gameDataCached) return null;
|
||||||
return this.varieties.filter(variety => variety.mega);
|
return this.varieties.some(variety => variety.mega);
|
||||||
}
|
}
|
||||||
|
|
||||||
get displayID() {
|
get displayID() {
|
||||||
|
|||||||
Reference in New Issue
Block a user