diff --git a/src/main/java/cc/fascinated/piaservers/Main.java b/src/main/java/cc/fascinated/piaservers/Main.java index 41b1144..6f083a1 100644 --- a/src/main/java/cc/fascinated/piaservers/Main.java +++ b/src/main/java/cc/fascinated/piaservers/Main.java @@ -43,7 +43,7 @@ public class Main { // Load the serversFile from the file String serversJson = Files.readString(serversFile.toPath()); System.out.println(serversJson); - List servers = GSON.fromJson(serversJson, new TypeToken() {}.getType()); + List servers = GSON.fromJson(serversJson, new TypeToken>() {}.getType()); if (servers == null) { servers = new ArrayList<>(); }