SteamWar/BungeeCore
Archiviert
13
2

Update TablistManager
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2021-12-27 14:15:21 +01:00
Ursprung c6900a2521
Commit 27b8fa969f

Datei anzeigen

@ -317,7 +317,7 @@ public class TablistManager extends BasicListener {
if(slim && !displaySlim(viewer.player, player.player)) if(slim && !displaySlim(viewer.player, player.player))
continue; continue;
int ping = sameServer ? 1 : 500; int ping = sameServer ? 1 : 1000;
String name = player.defaultName.startsWith("§7") && user.getTeam() != 0 && user.getTeam() == SteamwarUser.get(player.player.getUniqueId()).getTeam() ? "§f" + player.player.getName() : player.defaultName; String name = player.defaultName.startsWith("§7") && user.getTeam() != 0 && user.getTeam() == SteamwarUser.get(player.player.getUniqueId()).getTeam() ? "§f" + player.player.getName() : player.defaultName;
viewer.setSlot(BungeeTabListPlusAPI.getIconFromPlayer(player.player), name, ping); viewer.setSlot(BungeeTabListPlusAPI.getIconFromPlayer(player.player), name, ping);
} }