diff options
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt | 8 |
1 files changed, 2 insertions, 6 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 febfd33ee..a488ef6dd 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 @@ -143,12 +143,8 @@ class GardenVisitorTimer { } if (lastMillis == INFINITE) { - ErrorManager.logErrorState("Visitor Timer got problem detected", "lastMillis is infinite") - return - } - if (millis == INFINITE) { - ErrorManager.logErrorState("Visitor Timer got problem detected", "millis is infinite") - return + LorenzUtils.chat("§c[SkyHanni] Found Visitor Timer bug, reset value (lastMillis was infinite).") + lastMillis = 0.seconds } val diff = lastMillis - millis |