Dieser Commit ist enthalten in:
Ursprung
cbc97f81e4
Commit
42f6feab25
@ -51,7 +51,7 @@ public class Leaderboard implements Listener {
|
|||||||
LeaderboardEntry entry = leaderboard.get(i);
|
LeaderboardEntry entry = leaderboard.get(i);
|
||||||
RArmorStand entity = new RArmorStand(server, location.clone().add(0, (leaderboard.size() - i - 1) * 0.32, 0), RArmorStand.Size.MARKER);
|
RArmorStand entity = new RArmorStand(server, location.clone().add(0, (leaderboard.size() - i - 1) * 0.32, 0), RArmorStand.Size.MARKER);
|
||||||
SteamwarUser user = SteamwarUser.get(entry.user);
|
SteamwarUser user = SteamwarUser.get(entry.user);
|
||||||
String color = "§f";
|
String color = "§7";
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
color = "§6§l";
|
color = "§6§l";
|
||||||
} else if (i < 3) {
|
} else if (i < 3) {
|
||||||
@ -89,7 +89,7 @@ public class Leaderboard implements Listener {
|
|||||||
entity.hide(false);
|
entity.hide(false);
|
||||||
}
|
}
|
||||||
long time = getPlayerTime(steamwarUser);
|
long time = getPlayerTime(steamwarUser);
|
||||||
entity.setDisplayName(calcName(steamwarUser, "§7", placement, time));
|
entity.setDisplayName(calcName(steamwarUser, "§f", placement, time));
|
||||||
}
|
}
|
||||||
|
|
||||||
private String calcName(SteamwarUser user, String color, int placement, long time) {
|
private String calcName(SteamwarUser user, String color, int placement, long time) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren