diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-05-18 12:22:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-18 12:22:18 +0200 |
commit | dea8da66d4aa933b63df691d9db9d4eafc0a5e0e (patch) | |
tree | 76ead18fb2ff6c1637cc7a74e0b26293658f2602 /src/main/java/at | |
parent | c5327be0059d50333f43d78a5ebebba35db4de60 (diff) | |
download | skyhanni-dea8da66d4aa933b63df691d9db9d4eafc0a5e0e.tar.gz skyhanni-dea8da66d4aa933b63df691d9db9d4eafc0a5e0e.tar.bz2 skyhanni-dea8da66d4aa933b63df691d9db9d4eafc0a5e0e.zip |
Fix: Wrong Visitor Time (#1831)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt index efb19579e..229e58e4e 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt @@ -99,6 +99,9 @@ class GardenVisitorTimer { } millis = TimeUtils.getDuration(timeInfo) } + } ?: run { + display = "§cVisitor time info not in tab list" + return } if (lastVisitors != -1 && visitorsAmount - lastVisitors == 1) { |