Skip to content

Commit

Permalink
TS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MathyFurret committed Nov 27, 2024
1 parent 8385f69 commit 1d6a888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion play.pokemonshowdown.com/src/battle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2225,7 +2225,7 @@ export class Battle {
break;
}
case '-item': {
let poke = this.getPokemon(args[1]);
let poke = this.getPokemon(args[1])!;
let item = Dex.items.get(args[2]);
let effect = Dex.getEffect(kwArgs.from);
let ofpoke = this.getPokemon(kwArgs.of);
Expand Down

0 comments on commit 1d6a888

Please sign in to comment.