From 42f6feab250d264714f7805acda08457ef5ec57e Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 21 Jul 2024 14:11:45 +0200 Subject: [PATCH] Fix Leaderboard loading --- src/de/steamwar/lobby/util/Leaderboard.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de/steamwar/lobby/util/Leaderboard.java b/src/de/steamwar/lobby/util/Leaderboard.java index 4448b6d..afd8125 100644 --- a/src/de/steamwar/lobby/util/Leaderboard.java +++ b/src/de/steamwar/lobby/util/Leaderboard.java @@ -51,7 +51,7 @@ public class Leaderboard implements Listener { LeaderboardEntry entry = leaderboard.get(i); 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); - String color = "§f"; + String color = "§7"; if (i == 0) { color = "§6§l"; } else if (i < 3) { @@ -89,7 +89,7 @@ public class Leaderboard implements Listener { entity.hide(false); } 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) {