mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Finish up refactoring, start fixing
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user