aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-09-07 14:56:14 +1000
committerGitHub <noreply@github.com>2024-09-07 06:56:14 +0200
commit78ce109b8fe6291340067771217b6965d82d76c2 (patch)
treee1cb653558176033bae6cf587b32b764d44e61c5 /src/main/java/at
parenta2c7ebe2115f6606414baf84aff7d040bf1182bd (diff)
downloadskyhanni-78ce109b8fe6291340067771217b6965d82d76c2.tar.gz
skyhanni-78ce109b8fe6291340067771217b6965d82d76c2.tar.bz2
skyhanni-78ce109b8fe6291340067771217b6965d82d76c2.zip
Fix: shtps command printing nothing (#2446)
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/TpsCounter.kt4
1 files changed, 4 insertions, 0 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 ed6d3f63c..0a3a60295 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/TpsCounter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/TpsCounter.kt
@@ -73,6 +73,10 @@ object TpsCounter {
}
fun tpsCommand() {
+ if (display.isEmpty()) {
+ ChatUtils.chat("§cNo tps data available, make sure you have the setting on.")
+ return
+ }
ChatUtils.chat(display)
}