Update Game.java
This commit is contained in:
parent
a7dd6c144c
commit
79ad8fcb4a
@ -232,7 +232,7 @@ public class Game {
|
||||
*/
|
||||
public static ArrayList<Pokemon> readPokemon() {
|
||||
ArrayList<Pokemon> pokemon = new ArrayList<Pokemon>();
|
||||
try (Scanner file = new Scanner(new File("Pokemon.txt"))) {
|
||||
try (Scanner file = new Scanner(new File("config/Pokemon.txt"))) {
|
||||
while (file.hasNextLine()) {
|
||||
pokemon.add(new Pokemon(file.nextLine()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user