Update src/data/move.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
geeilhan 2025-01-05 14:07:29 +01:00 committed by GitHub
parent ab6438a8d4
commit 6422cc07e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7789,7 +7789,7 @@ export class StuffCheeksCondition extends MoveSelectCondition {
* @returns true if the user is holding a berry, otherwise false * @returns true if the user is holding a berry, otherwise false
*/ */
private selectableCondition(user: Pokemon): boolean { private selectableCondition(user: Pokemon): boolean {
return user.getHeldItems().filter(m => m instanceof BerryModifier, user.isPlayer()).length > 0; return user.getHeldItems().filter(m => m instanceof BerryModifier).length > 0;
} }
/** /**