From b9bd547378f6e96fa41d7b48f1156f3ae3cbc7ab Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 12 Jun 2023 14:05:43 +0200 Subject: Hopefully fixed city project reminder not auto disabled for 24 hours after participating everywhere --- .../java/at/hannibal2/skyhanni/features/misc/CityProjectFeatures.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni') 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 } } -- cgit