From 192961f3911e5c2c3d26c4946cca22efb05012ad Mon Sep 17 00:00:00 2001 From: Gureumi Date: Thu, 16 Nov 2023 21:24:30 +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 a51b8290..2dce3a27 100644 --- a/src/main/kotlin/essentials/Trigger.kt +++ b/src/main/kotlin/essentials/Trigger.kt @@ -48,7 +48,7 @@ object Trigger { } if (data.lastLoginDate != null) { - if (data.lastLoginDate!!.toEpochDay() - LocalDate.now().toEpochDay() >= 1) { + if ((LocalDate.now().toEpochDay() - data.lastLoginDate!!.toEpochDay()) == 1L) { data.joinStacks++ if (data.joinStacks % 3 == 0) { data.expMultiplier = 1.2