mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-24 01:02:19 +02:00
Remove redundant parentheses
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
742e32d7bb
commit
be85721aa4
@ -4898,7 +4898,7 @@ async function applySingleAbAttrs<TAttr extends AbAttr>(
|
|||||||
|
|
||||||
for (const attr of ability.getAttrs(attrType)) {
|
for (const attr of ability.getAttrs(attrType)) {
|
||||||
const condition = attr.getCondition();
|
const condition = attr.getCondition();
|
||||||
if ((condition && !condition(pokemon))) {
|
if (condition && !condition(pokemon)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user