aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/HotSwapDetection.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/HotSwapDetection.kt b/src/main/java/at/hannibal2/skyhanni/test/HotSwapDetection.kt
index e3acc25e7..20a0d99a5 100644
--- a/src/main/java/at/hannibal2/skyhanni/test/HotSwapDetection.kt
+++ b/src/main/java/at/hannibal2/skyhanni/test/HotSwapDetection.kt
@@ -13,7 +13,8 @@ object HotSwapDetection {
private var hotswap = false
init {
- fixedRateTimer(name = "skyhanni-tps-counter-seconds", period = 1000L) {
+ // TODO seems broken somehow?
+ fixedRateTimer(name = "skyhanni-hot-swap-detection", period = 1000L) {
val currentTick = MinecraftData.totalTicks
val diff = currentTick - latestTick
latestTick = currentTick