Remove redundant parentheses

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Dean 2025-02-18 01:14:52 -08:00 committed by GitHub
parent 742e32d7bb
commit be85721aa4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4898,7 +4898,7 @@ async function applySingleAbAttrs<TAttr extends AbAttr>(
for (const attr of ability.getAttrs(attrType)) {
const condition = attr.getCondition();
if ((condition && !condition(pokemon))) {
if (condition && !condition(pokemon)) {
continue;
}