aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt3
1 files changed, 1 insertions, 2 deletions
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"
}