From 78ce109b8fe6291340067771217b6965d82d76c2 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Sat, 7 Sep 2024 14:56:14 +1000 Subject: Fix: shtps command printing nothing (#2446) --- src/main/java/at/hannibal2/skyhanni/features/misc/TpsCounter.kt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/java/at') 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) } -- cgit