aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-22 17:08:58 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-22 17:08:58 +0200
commit0f5055bd42614db2dd28e1c9f80494f872a884ed (patch)
treede397f50e1c2f7a1f54f48db940c2f941b1fa111
parentd9ccf2acda2812906286f6a338398a2f92b273dc (diff)
downloadskyhanni-0f5055bd42614db2dd28e1c9f80494f872a884ed.tar.gz
skyhanni-0f5055bd42614db2dd28e1c9f80494f872a884ed.tar.bz2
skyhanni-0f5055bd42614db2dd28e1c9f80494f872a884ed.zip
reset rift time on world switch
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/rift/RiftTimer.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/rift/RiftTimer.kt b/src/main/java/at/hannibal2/skyhanni/features/rift/RiftTimer.kt
index 6fe16c981..ffe8097c1 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/rift/RiftTimer.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/rift/RiftTimer.kt
@@ -21,6 +21,8 @@ class RiftTimer {
@SubscribeEvent
fun onJoinWorld(ignored: WorldEvent.Load) {
display = emptyList()
+ maxTime = 0
+ latestTime = 0
}
@SubscribeEvent