Skip to content

Commit

Permalink
Removed unnecessary ?
Browse files Browse the repository at this point in the history
  • Loading branch information
frutescens committed Nov 12, 2024
1 parent 8cd6b39 commit c983027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phases/encounter-phase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit c983027

Please sign in to comment.