From d06003d22c6be49189f5d2a8d55c0400efe1e2b6 Mon Sep 17 00:00:00 2001 From: spongario Date: Thu, 11 Apr 2024 23:12:34 -0400 Subject: [PATCH] fix formatting --- src/data/terrain.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/data/terrain.ts b/src/data/terrain.ts index 606a3914b..48ffc1c68 100644 --- a/src/data/terrain.ts +++ b/src/data/terrain.ts @@ -51,8 +51,7 @@ export class Terrain { isMoveTerrainCancelled(user: Pokemon, move: Move): boolean { switch (this.terrainType) { case TerrainType.PSYCHIC: - if (!move.getAttrs(ProtectAttr).length ) - { + if (!move.getAttrs(ProtectAttr).length){ const priority = new Utils.IntegerHolder(move.priority); applyAbAttrs(IncrementMovePriorityAbAttr, user, null, move, priority); return priority.value > 0;