geforkt von SteamWar/BungeeCore
Yoyo am losten
Dieser Commit ist enthalten in:
Ursprung
bfefd5a197
Commit
bdbe615790
@ -95,9 +95,9 @@ public class Tablist extends MessageToMessageDecoder<PacketWrapper> {
|
|||||||
update.add(tabItem);
|
update.add(tabItem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
boolean playerOnTeamserver = Storage.teamServers.containsValue(player.getServer().getInfo());
|
boolean playerNotOnTeamserver = !Storage.teamServers.containsValue(player.getServer().getInfo());
|
||||||
for(PlayerListItem.Item item : directTabItems.values()) {
|
for(PlayerListItem.Item item : directTabItems.values()) {
|
||||||
if(playerOnTeamserver && !nonNPCs.contains(item.getUuid()) && !npcs.contains(item.getUuid()) && !player.getUniqueId().equals(item.getUuid())) {
|
if(playerNotOnTeamserver && !nonNPCs.contains(item.getUuid()) && !npcs.contains(item.getUuid()) && !player.getUniqueId().equals(item.getUuid())) {
|
||||||
npcs.add(item.getUuid());
|
npcs.add(item.getUuid());
|
||||||
addNpc.add(item.getUsername());
|
addNpc.add(item.getUsername());
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren