aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-05 16:51:40 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-05 16:51:40 +0100
commit3f2d4b3b9ae1b009998564e0bafb13d35b7c6a79 (patch)
tree5db89944536acf00d0a6fe090848aa7fdecb5722 /src/main/java
parent95632c5677d51c351d20a900de0c9be15e17629b (diff)
downloadskyhanni-3f2d4b3b9ae1b009998564e0bafb13d35b7c6a79.tar.gz
skyhanni-3f2d4b3b9ae1b009998564e0bafb13d35b7c6a79.tar.bz2
skyhanni-3f2d4b3b9ae1b009998564e0bafb13d35b7c6a79.zip
No longer sending contest data to elite close to new year.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/GardenNextJacobContest.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenNextJacobContest.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenNextJacobContest.kt
index 5e8c0fd6b..2baa27ffa 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenNextJacobContest.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenNextJacobContest.kt
@@ -510,7 +510,7 @@ object GardenNextJacobContest {
}
private fun sendContests() {
- if (isSendingContests || contests.size != maxContestsPerYear) return
+ if (isSendingContests || contests.size != maxContestsPerYear || isCloseToNewYear()) return
isSendingContests = true