From c983027adbd97bb0003ba530a7c8b339d8482197 Mon Sep 17 00:00:00 2001 From: frutescens Date: Tue, 12 Nov 2024 15:17:42 -0800 Subject: [PATCH] Removed unnecessary ? --- src/phases/encounter-phase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases/encounter-phase.ts b/src/phases/encounter-phase.ts index f4b4ef1e811..85eaffc3ecb 100644 --- a/src/phases/encounter-phase.ts +++ b/src/phases/encounter-phase.ts @@ -223,7 +223,7 @@ export class EncounterPhase extends BattlePhase { const bossMBH = this.scene.findModifier(m => m instanceof TurnHeldItemTransferModifier && m.pokemonId === enemyPokemon.id, false) as TurnHeldItemTransferModifier; if (bossMBH) { this.scene.removeModifier(bossMBH); - bossMBH?.setTransferrableFalse(); + bossMBH.setTransferrableFalse(); this.scene.addEnemyModifier(bossMBH); } }