Compare commits
2 Commits
142ed5f86e
...
e350b039d2
Author | SHA1 | Date | |
---|---|---|---|
e350b039d2 | |||
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<>();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user