mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -256,7 +256,7 @@ module.exports = class Pokemon {
|
||||
return this.moveSet;
|
||||
}
|
||||
|
||||
async fetchHeldItems(heldItems) {
|
||||
fetchHeldItems(heldItems) {
|
||||
this.heldItems = heldItems
|
||||
.filter(item => item.version_details.some(version => {
|
||||
const inSwordShield = version.version.name === 'sword' || version.version.name === 'shield';
|
||||
|
||||
Reference in New Issue
Block a user