Finish up refactoring, start fixing

This commit is contained in:
WiIIiam278 committed 2021-05-30 23:13:03 +01:00
1 parent a63f1a77ad
commit cc90d5f15d
36 files changed
+520 -556

No files matched your search

@@ -7,7 +7,7 @@ public class CrossServerListHandler {
// A HashMap mapping all the HuskHomes servers on the Bungee Network
// (with the same Cluster ID) with their list of players
private static final HashMap<String,HashSet<String>> playerList = new HashMap<>();
/*private static final HashMap<String,HashSet<String>> playerList = new HashMap<>();
public static HashSet<String> getOtherServerPlayerList() {
HashSet<String> players = new HashSet<>();
@@ -15,12 +15,12 @@ public class CrossServerListHandler {
players.addAll(playerList.get(server));
}
return players;
}
}*/
public static void updateHashset(String server, HashSet<String> players) {
/*public static void updateHashset(String server, HashSet<String> players) {
playerList.put(server, players);
}
*/
/*public static void updatePlayerList(Player p) {
playerList.clear();
if (p == null) {