diff options
author | UXD Paul <77199889+PaulProjects@users.noreply.github.com> | 2023-04-17 23:13:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-17 23:13:52 +0200 |
commit | 066db5a9493febdc4471e4377072f02505656d4c (patch) | |
tree | 715d86c0be0858233ba3b5144a498227ade9bad4 /src/main/java/at/hannibal2/skyhanni/features | |
parent | a1e0e192ba5c7e12bf2edbfadefe286d7503f188 (diff) | |
download | skyhanni-066db5a9493febdc4471e4377072f02505656d4c.tar.gz skyhanni-066db5a9493febdc4471e4377072f02505656d4c.tar.bz2 skyhanni-066db5a9493febdc4471e4377072f02505656d4c.zip |
fix tps display getting getting too large (#47)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/TpsCounter.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/TpsCounter.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/TpsCounter.kt index 1bc1940bd..3fa416992 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/TpsCounter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/TpsCounter.kt @@ -47,7 +47,7 @@ class TpsCounter { display = if (tpsList.size < minDataAmount) { val current = minDataAmount - tpsList.size - "§eTps: §fCalculating.. (${current}s)" + "§eTps: §f(${current}s)" } else { val sum = tpsList.sum().toDouble() var tps = (sum / tpsList.size).round(1) @@ -100,7 +100,7 @@ class TpsCounter { } else if (tps > 12) { "§c" } else { - "§8NOT PLAYABLE - " + "§4" } } -}
\ No newline at end of file +} |