mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Adjusted update time and tab completer
This commit is contained in:
1 parent
8e1577faa1
commit
16e1c071ae
5 files changed
+9
-15
No files matched your search
@@ -12,15 +12,6 @@ public class CrossServerListHandler {
|
||||
// (with the same Cluster ID) with their list of players
|
||||
private static final HashMap<String,HashSet<String>> playerList = new HashMap<>();
|
||||
|
||||
// Returns a HashSet of all players on the Network
|
||||
public static HashSet<String> getGlobalPlayerList() {
|
||||
HashSet<String> players = getOtherServerPlayerList();
|
||||
for (Player p : Bukkit.getOnlinePlayers()) {
|
||||
players.add(p.getName());
|
||||
}
|
||||
return players;
|
||||
}
|
||||
|
||||
public static HashSet<String> getOtherServerPlayerList() {
|
||||
HashSet<String> players = new HashSet<>();
|
||||
for (String server : playerList.keySet()) {
|
||||
|
||||
Reference in new issue
Block a user