summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/events
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-03 20:02:25 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-03 20:02:25 +0200
commitb19e2ed181ef8618d71ad33960befceff510cfa9 (patch)
treef094fcd94241277364841ec8a11bb4b984908510 /src/main/java/at/hannibal2/skyhanni/events
parent1d051f3e1e35489989ca109f1493154641c23068 (diff)
downloadskyhanni-b19e2ed181ef8618d71ad33960befceff510cfa9.tar.gz
skyhanni-b19e2ed181ef8618d71ad33960befceff510cfa9.tar.bz2
skyhanni-b19e2ed181ef8618d71ad33960befceff510cfa9.zip
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/events/LorenzTickEvent.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/LorenzTickEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/LorenzTickEvent.kt
index 12b837da5..f319ca557 100644
--- a/src/main/java/at/hannibal2/skyhanni/events/LorenzTickEvent.kt
+++ b/src/main/java/at/hannibal2/skyhanni/events/LorenzTickEvent.kt
@@ -4,5 +4,6 @@ class LorenzTickEvent(private val tick: Int) : LorenzEvent() {
fun isMod(i: Int, offset: Int = 0) = (tick + offset) % i == 0
+ @Deprecated("Use SecondPassedEvent instead", ReplaceWith(""))
fun repeatSeconds(i: Int, offset: Int = 0) = isMod(i * 20, offset)
}