SteamWar/BungeeCore
Archiviert
13
2

Fix TablistManager #229

Manuell gemergt
YoyoNow hat 2 Commits von Tablist nach master 2021-07-29 00:00:29 +02:00 zusammengeführt

Datei anzeigen

@ -193,7 +193,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 != 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());
Subserver subserver = Subserver.getSubserver(player);