aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-12 14:05:43 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-12 14:05:43 +0200
commitb9bd547378f6e96fa41d7b48f1156f3ae3cbc7ab (patch)
tree4ad1b5a7911be72ceebb9043012e9d9c4ad4dc2e /src/main/java/at/hannibal2/skyhanni
parentf7b63675697da08923c319ddee2c1d1a257dbe12 (diff)
downloadskyhanni-b9bd547378f6e96fa41d7b48f1156f3ae3cbc7ab.tar.gz
skyhanni-b9bd547378f6e96fa41d7b48f1156f3ae3cbc7ab.tar.bz2
skyhanni-b9bd547378f6e96fa41d7b48f1156f3ae3cbc7ab.zip
Hopefully fixed city project reminder not auto disabled for 24 hours after participating everywhere
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/CityProjectFeatures.kt4
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
}
}