Archiviert
1
0

Merge pull request 'Update TablistManager' (#286) from UpdatePing into master

Reviewed-on: SteamWar/BungeeCore#286
Reviewed-by: Lixfel <lixfel@steamwar.de>
Dieser Commit ist enthalten in:
Lixfel 2021-12-27 16:28:06 +01:00
Commit 308a313b32

Datei anzeigen

@ -317,7 +317,7 @@ public class TablistManager extends BasicListener {
if(slim && !displaySlim(viewer.player, player.player))
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;
viewer.setSlot(BungeeTabListPlusAPI.getIconFromPlayer(player.player), name, ping);
}