File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,16 +104,6 @@ func PokemonCommand() (string, error) {
104104 for _ , entry := range pokemonSpeciesStruct .EggGroups {
105105 modernEggGroupNames := map [string ]string {
106106 "indeterminate" : "Amorphous" ,
107- }
108-
109- if name , exists := modernEggGroupNames [entry .Name ]; exists {
110- eggGroupSlice = append (eggGroupSlice , name )
111- } else {
112- capitalizedEggGroup := cases .Title (language .English ).String (entry .Name )
113- eggGroupSlice = append (eggGroupSlice , capitalizedEggGroup )
114- }
115- modernEggGroupNames = map [string ]string {
116- "indeterminate" : "Amorphous" ,
117107 "ground" : "Field" ,
118108 "humanshape" : "Human-Like" ,
119109 "plant" : "Grass" ,
@@ -126,7 +116,6 @@ func PokemonCommand() (string, error) {
126116 capitalizedEggGroup := cases .Title (language .English ).String (entry .Name )
127117 eggGroupSlice = append (eggGroupSlice , capitalizedEggGroup )
128118 }
129-
130119 }
131120
132121 sort .Strings (eggGroupSlice )
You can’t perform that action at this time.
0 commit comments