diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-23 21:06:52 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-23 21:06:52 +0100 |
commit | ca217066e9294d7ddd6fa865c28ff3577336649e (patch) | |
tree | dfe7a463bc49783532e08494d3e111bbc067a783 /src/main/java | |
parent | 6067aec8d7f18cce0d2d51556e39ebbb7baba080 (diff) | |
download | skyhanni-ca217066e9294d7ddd6fa865c28ff3577336649e.tar.gz skyhanni-ca217066e9294d7ddd6fa865c28ff3577336649e.tar.bz2 skyhanni-ca217066e9294d7ddd6fa865c28ff3577336649e.zip |
show name of person in front of you in the farming weight lb
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/EliteFarmingWeight.kt | 3 |
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" } |