diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-12 14:05:43 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-12 14:05:43 +0200 |
commit | b9bd547378f6e96fa41d7b48f1156f3ae3cbc7ab (patch) | |
tree | 4ad1b5a7911be72ceebb9043012e9d9c4ad4dc2e | |
parent | f7b63675697da08923c319ddee2c1d1a257dbe12 (diff) | |
download | skyhanni-b9bd547378f6e96fa41d7b48f1156f3ae3cbc7ab.tar.gz skyhanni-b9bd547378f6e96fa41d7b48f1156f3ae3cbc7ab.tar.bz2 skyhanni-b9bd547378f6e96fa41d7b48f1156f3ae3cbc7ab.zip |
Hopefully fixed city project reminder not auto disabled for 24 hours after participating everywhere
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/CityProjectFeatures.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/CityProjectFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/CityProjectFeatures.kt index 179466497..4e8976a28 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/CityProjectFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/CityProjectFeatures.kt @@ -62,7 +62,7 @@ class CityProjectFeatures { if (profileSpecific.nextCityProjectParticipationTime == 0L) return if (System.currentTimeMillis() <= profileSpecific.nextCityProjectParticipationTime) return - if (lastReminderSend + 10_000 > System.currentTimeMillis()) return + if (lastReminderSend + 30_000 > System.currentTimeMillis()) return lastReminderSend = System.currentTimeMillis() LorenzUtils.clickableChat( @@ -113,8 +113,8 @@ class CityProjectFeatures { } if (itemName != "§eContribute this component!") continue nextTime = System.currentTimeMillis() - ProfileStorageData.profileSpecific?.nextCityProjectParticipationTime = nextTime } + ProfileStorageData.profileSpecific?.nextCityProjectParticipationTime = nextTime } } |