geforkt von SteamWar/BungeeCore
Hotfix weird tablist behaviour
Dieser Commit ist enthalten in:
Ursprung
2b5b2c2443
Commit
356db56da3
@ -93,7 +93,8 @@ public class TablistServer implements TablistPart {
|
||||
return players.stream().map(item -> {
|
||||
ProxiedPlayer p = BungeeCord.getInstance().getPlayer(item.getUuid());
|
||||
if (p == null) return item;
|
||||
if (Subserver.getSubserver(p.getServer().getInfo()).getType() == Servertype.ARENA) return item;
|
||||
Subserver subserver = Subserver.getSubserver(p.getServer().getInfo());
|
||||
if (subserver != null && subserver.getType() == Servertype.ARENA) return item;
|
||||
if (SteamwarUser.get(p.getUniqueId()).getTeam() != team) return item;
|
||||
return new Item(p, true);
|
||||
});
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren