SteamWar/BungeeCore
Archiviert
13
2

Fix TablistManager add Team visibility

Dieser Commit ist enthalten in:
yoyosource 2021-06-25 12:33:07 +02:00
Ursprung 80ec27b0c4
Commit f2ba19da71

Datei anzeigen

@ -204,7 +204,7 @@ public class TablistManager extends BasicListener {
Team team = getTeam(player);
List<ProxiedPlayer> players = playerMap.get(server)
.stream()
.filter(p -> p.getServer().getInfo() == currentServer || SteamwarUser.get(p).getUserGroup() != UserGroup.Member || team == getTeam(p))
.filter(p -> p.getServer().getInfo() == currentServer || SteamwarUser.get(p).getUserGroup() != UserGroup.Member || (team != null && team == getTeam(p)))
.collect(Collectors.toList());
if (server.equals("Bau")) {
Subserver subserver = Subserver.getSubserver(player);