aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/mining/eventtracker/MiningEventTracker.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/eventtracker/MiningEventTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/eventtracker/MiningEventTracker.kt
index 251466cc9..bd1d284bd 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/mining/eventtracker/MiningEventTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/mining/eventtracker/MiningEventTracker.kt
@@ -38,6 +38,7 @@ class MiningEventTracker {
"bossbar.active",
"§e§lEVENT (?<event>.+) §e§lACTIVE IN (?<area>.+) §e§lfor §a§l(?<time>\\S+)§r"
)
+ // TODO add test messages
private val eventStartedPattern by patternGroup.pattern(
"started",
"(?:§.)*\\s+(?:§.)+§l(?<event>.+) STARTED!"
@@ -98,6 +99,9 @@ class MiningEventTracker {
}
private fun sendData(eventName: String, time: String?) {
+ // TODO fix this via regex
+ if (eventName == "SLAYER QUEST") return
+
val eventType = MiningEventType.fromEventName(eventName) ?: run {
if (!config.enabled) return
ErrorManager.logErrorWithData(