diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-06-02 10:11:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-02 10:11:04 +0200 |
commit | 4c838a148544a862b7a52ba68347d0d5715e7b5e (patch) | |
tree | 4ea0e74bc9bbdd81d05c0c96ebdb6abd3c36fc04 /src/main | |
parent | a6cfa44a97a7f82b05501ef76f5b62d62fb03f85 (diff) | |
download | skyhanni-4c838a148544a862b7a52ba68347d0d5715e7b5e.tar.gz skyhanni-4c838a148544a862b7a52ba68347d0d5715e7b5e.tar.bz2 skyhanni-4c838a148544a862b7a52ba68347d0d5715e7b5e.zip |
Fix: Visitor Drop Statistics new data (#1976)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt index caa8940db..c6f32ed6a 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorDropStatistics.kt @@ -103,7 +103,7 @@ object GardenVisitorDropStatistics { fun onChat(event: LorenzChatEvent) { if (!GardenAPI.onBarnPlot) return if (!ProfileStorageData.loaded) return - if (lastAccept.passedSince() > 1.seconds || lastAccept.isInPast()) return + if (lastAccept.passedSince() > 1.seconds) return val message = event.message.removeColor().trim() val storage = GardenAPI.storage?.visitorDrops ?: return |