Merge pull request 'Update TablistManager' (#286) from UpdatePing into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Reviewed-on: #286 Reviewed-by: Lixfel <lixfel@steamwar.de>
Dieser Commit ist enthalten in:
Commit
308a313b32
@ -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);
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren