diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/TpsCounter.kt | 4 |
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) } |