From ca217066e9294d7ddd6fa865c28ff3577336649e Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 23 Mar 2023 21:06:52 +0100 Subject: show name of person in front of you in the farming weight lb --- .../java/at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/garden') diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt index faf6d0a17..9e8332209 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt @@ -177,8 +177,7 @@ class EliteFarmingWeight { val format = LorenzUtils.formatDouble(weightUntilOvertake, 2) // TODO Maybe add next player name? -// val nextName = if (leaderboardPosition == -1) "#1000" else nextPlayerName - val nextName = if (leaderboardPosition == -1) "#1000" else "#" + (leaderboardPosition - 1) + val nextName = if (leaderboardPosition == -1) "#1000" else nextPlayerName return "§e$format §7(§b$timeFormat§7) §7behind §b$nextName" } -- cgit