mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 07:10:46 -05:00
Remove getTemplate call from Pokemon constructor (#1479)
This commit is contained in:
@@ -106,9 +106,6 @@ class Pokemon implements PokemonDetails, PokemonHealth {
|
||||
this.side = side;
|
||||
this.species = data.species;
|
||||
|
||||
// TODO: stop doing this
|
||||
Object.assign(this, Dex.getTemplate(data.species));
|
||||
|
||||
this.details = data.details;
|
||||
this.name = data.name;
|
||||
this.level = data.level;
|
||||
|
||||
Reference in New Issue
Block a user