geforkt von SteamWar/BungeeCore
Fix TablistManager add Team visibility
Dieser Commit ist enthalten in:
Ursprung
80ec27b0c4
Commit
f2ba19da71
@ -204,7 +204,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 == getTeam(p))
|
.filter(p -> p.getServer().getInfo() == currentServer || SteamwarUser.get(p).getUserGroup() != UserGroup.Member || (team != null && team == getTeam(p)))
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
if (server.equals("Bau")) {
|
if (server.equals("Bau")) {
|
||||||
Subserver subserver = Subserver.getSubserver(player);
|
Subserver subserver = Subserver.getSubserver(player);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren