Archiviert
1
0

Fix TablistManager

Dieser Commit ist enthalten in:
yoyosource 2021-07-26 20:47:48 +02:00
Ursprung 4a4f185c81
Commit 91e5733a00

Datei anzeigen

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