diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-05-02 16:00:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-02 16:00:49 +0200 |
commit | 143cfe8b5a95d50057fa86658ecdc8f95f57f923 (patch) | |
tree | 94a0b6200de2068773ddb8456583ab17fb2a3bd4 /src/main/java | |
parent | 04fd110248ccb61361523154d76afeecc920ecc8 (diff) | |
download | skyhanni-143cfe8b5a95d50057fa86658ecdc8f95f57f923.tar.gz skyhanni-143cfe8b5a95d50057fa86658ecdc8f95f57f923.tar.bz2 skyhanni-143cfe8b5a95d50057fa86658ecdc8f95f57f923.zip |
Fix: mining islands slayer (#1619)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/mining/eventtracker/MiningEventTracker.kt | 4 |
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( |