From 2a68318b9e95d2aeefb71caf6672b8400aad3a72 Mon Sep 17 00:00:00 2001 From: Gureumi Date: Sat, 4 May 2024 14:19:21 +0900 Subject: [PATCH] Fix join stack --- src/main/kotlin/essentials/Trigger.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/essentials/Trigger.kt b/src/main/kotlin/essentials/Trigger.kt index d92a336b..934f6ec0 100644 --- a/src/main/kotlin/essentials/Trigger.kt +++ b/src/main/kotlin/essentials/Trigger.kt @@ -45,7 +45,7 @@ object Trigger { if (data.lastLoginDate != null) { if ((LocalDate.now().toEpochDay() - data.lastLoginDate!!.toEpochDay()) == 1L) { - data.joinStacks++ + data.joinStacks += 1 when { data.joinStacks >= 15 -> data.expMultiplier = 5.0 data.joinStacks >= 7 -> data.expMultiplier = 2.5