fix the fix
This commit is contained in:
parent
254e960447
commit
80daf3899a
@ -36,7 +36,7 @@ public class PiaManager {
|
|||||||
serversFile.createNewFile();
|
serversFile.createNewFile();
|
||||||
}
|
}
|
||||||
// Load the serversFile from the file
|
// Load the serversFile from the file
|
||||||
SERVERS = Main.GSON.fromJson(Files.readString(serversFile.toPath()), new TypeToken<List<PiaServer>>() {}.getType());
|
SERVERS = Main.GSON.fromJson(Files.readString(serversFile.toPath()), new TypeToken<Set<PiaServer>>() {}.getType());
|
||||||
if (SERVERS == null) {
|
if (SERVERS == null) {
|
||||||
SERVERS = new HashSet<>();
|
SERVERS = new HashSet<>();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user