Skip to content

Commit

Permalink
Fix join stack
Browse files Browse the repository at this point in the history
  • Loading branch information
Kieaer committed Nov 16, 2023
1 parent c1c6254 commit 192961f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/essentials/Trigger.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 192961f

Please # to comment.