aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-11 07:03:51 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-11 07:03:51 +0100
commitd542bad4e83d86bca7a307f7c32f16864789c30c (patch)
tree9918fc8c3ad8d49912d8d510c5e8895848c6cf3f /src/main
parent5488a0ab94c68e0fd846e39b2892a40f781d7bd7 (diff)
downloadskyhanni-d542bad4e83d86bca7a307f7c32f16864789c30c.tar.gz
skyhanni-d542bad4e83d86bca7a307f7c32f16864789c30c.tar.bz2
skyhanni-d542bad4e83d86bca7a307f7c32f16864789c30c.zip
Removed SkyHanni.
Diffstat (limited to 'src/main')
-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 dcb125b2f..8fed472a0 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/TpsCounter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/TpsCounter.kt
@@ -35,7 +35,7 @@ class TpsCounter {
if (ignoreFirstTicks > 0) {
ignoreFirstTicks--
val current = ignoreFirstTicks + minDataAmount
- display = "§eSkyHanni Tps: §fCalculating.. (${current}s)"
+ display = "§eTps: §fCalculating.. (${current}s)"
packetsFromLastSecond = 0
return@fixedRateTimer
}
@@ -48,13 +48,13 @@ class TpsCounter {
display = if (tpsList.size < minDataAmount) {
val current = minDataAmount - tpsList.size
- "§eSkyHanni Tps: §fCalculating.. (${current}s)"
+ "§eTps: §fCalculating.. (${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)
- "§eSkyHanni Tps: $color$tps"
+ "§eTps: $color$tps"
}
}
fixedRateTimer(name = "skyhanni-tps-counter-ticks", period = 50L) {