aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/events/SecondPassedEvent.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events/SecondPassedEvent.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/events/SecondPassedEvent.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/SecondPassedEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/SecondPassedEvent.kt
index d8290703d..0175fefc5 100644
--- a/src/main/java/at/hannibal2/skyhanni/events/SecondPassedEvent.kt
+++ b/src/main/java/at/hannibal2/skyhanni/events/SecondPassedEvent.kt
@@ -1,5 +1,5 @@
package at.hannibal2.skyhanni.events
class SecondPassedEvent(private val totalSeconds: Int) : LorenzEvent() {
- fun repeatSeconds(i: Int) = i % totalSeconds
+ fun repeatSeconds(i: Int) = i % totalSeconds == 0
}