aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-24 18:16:53 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-24 18:16:53 +0200
commitd9e177dbd5a79a779e90acc98cd0b38665ab2cc8 (patch)
tree237de0be3b388e2d7bc1c7c17b253968228c9e7f /src/main/java/at/hannibal2
parent3e124fe2283d6087c5700fefbbc0ddcd39d5b18d (diff)
downloadskyhanni-d9e177dbd5a79a779e90acc98cd0b38665ab2cc8.tar.gz
skyhanni-d9e177dbd5a79a779e90acc98cd0b38665ab2cc8.tar.bz2
skyhanni-d9e177dbd5a79a779e90acc98cd0b38665ab2cc8.zip
changed credits
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/rift/RiftTimer.kt12
1 files changed, 0 insertions, 12 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 3901d8370..fb43a5faf 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/rift/RiftTimer.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/rift/RiftTimer.kt
@@ -3,7 +3,6 @@ package at.hannibal2.skyhanni.features.rift
import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.events.GuiRenderEvent
import at.hannibal2.skyhanni.events.LorenzActionBarEvent
-import at.hannibal2.skyhanni.events.LorenzChatEvent
import at.hannibal2.skyhanni.utils.LorenzUtils
import at.hannibal2.skyhanni.utils.RenderUtils.renderStrings
import at.hannibal2.skyhanni.utils.StringUtils.matchMatcher
@@ -26,17 +25,6 @@ class RiftTimer {
}
@SubscribeEvent
- fun onChatMessage(event: LorenzChatEvent) {
- if (!isEnabled()) return
-
- val message = event.message
- " §r§7You have §r§a(?<time>.*)ф §r§7left before the rift collapses!".toPattern().matchMatcher(message) {
- val time = group("time")
- maxTime = getTime(time)
- }
- }
-
- @SubscribeEvent
fun onActionBar(event: LorenzActionBarEvent) {
if (!isEnabled()) return