diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-04-07 21:36:08 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-07 13:36:08 +0200 |
commit | fcd404d862b4b051474898076fcc06b406d1ea91 (patch) | |
tree | 7659d22a41d1529a8d4ebaa62958bc0934596431 /src/main/java/at/hannibal2/skyhanni/events | |
parent | 03c416202ccdec17cc46f6d07aae111fa977771a (diff) | |
download | skyhanni-fcd404d862b4b051474898076fcc06b406d1ea91.tar.gz skyhanni-fcd404d862b4b051474898076fcc06b406d1ea91.tar.bz2 skyhanni-fcd404d862b4b051474898076fcc06b406d1ea91.zip |
Backend: Remove a lot of deprecated code (#1371)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/events/SecondPassedEvent.kt | 2 |
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 } |