From be85721aa40753cb81191a9aba47f15f0d805761 Mon Sep 17 00:00:00 2001 From: Dean <69436131+emdeann@users.noreply.github.com> Date: Tue, 18 Feb 2025 01:14:52 -0800 Subject: [PATCH] Remove redundant parentheses Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> --- src/data/ability.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index f91cd685222..940b5f0c7d7 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -4898,7 +4898,7 @@ async function applySingleAbAttrs( for (const attr of ability.getAttrs(attrType)) { const condition = attr.getCondition(); - if ((condition && !condition(pokemon))) { + if (condition && !condition(pokemon)) { continue; }