aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
author(u/)RayDeeUx | Erymanthus[#5074] <145246962+ErymanthusRayDeeUx@users.noreply.github.com>2023-09-26 02:48:46 -0400
committerGitHub <noreply@github.com>2023-09-26 08:48:46 +0200
commit0ecab5ab4f94dce8b4b01bdad5d4b03a590e8345 (patch)
tree8a5a70b3ff2d936a777dacf9a206c2db03577c16 /src/main/java/at/hannibal2
parent04b753d7ffe03e7418a4f657ab8affe53b940d0e (diff)
downloadskyhanni-0ecab5ab4f94dce8b4b01bdad5d4b03a590e8345.tar.gz
skyhanni-0ecab5ab4f94dce8b4b01bdad5d4b03a590e8345.tar.bz2
skyhanni-0ecab5ab4f94dce8b4b01bdad5d4b03a590e8345.zip
Change: Replaces Tps to TPS (#486)
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/TpsCounter.kt6
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 726771f8c..684f97ba5 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/TpsCounter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/TpsCounter.kt
@@ -36,7 +36,7 @@ class TpsCounter {
if (ignoreFirstTicks > 0) {
ignoreFirstTicks--
val current = ignoreFirstTicks + minDataAmount
- display = "§eTps: §f(${current}s)"
+ display = "§eTPS: §f(${current}s)"
packetsFromLastSecond = 0
return@fixedRateTimer
}
@@ -49,13 +49,13 @@ class TpsCounter {
display = if (tpsList.size < minDataAmount) {
val current = minDataAmount - tpsList.size
- "§eTps: §f(${current}s)"
+ "§eTPS: §f(${current}s)"
} else {
val sum = tpsList.sum().toDouble()
var tps = (sum / tpsList.size).round(1)
if (tps > 20) tps = 20.0
val color = getColor(tps)
- "§eTps: $color$tps"
+ "§eTPS: $color$tps"
}
}
fixedRateTimer(name = "skyhanni-tps-counter-ticks", period = 50L) {