aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-28 17:41:09 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-28 17:41:09 +0200
commit5cd8b7471ffb02ada772d235740e9d17b8dd42b4 (patch)
tree42fdfd17112dd191760e9a44f25a14f9b302f119 /src/main/java/at/hannibal2
parente2902e5fd6bea1ffd9dbc2c3d8f60e1343a60f69 (diff)
downloadskyhanni-5cd8b7471ffb02ada772d235740e9d17b8dd42b4.tar.gz
skyhanni-5cd8b7471ffb02ada772d235740e9d17b8dd42b4.tar.bz2
skyhanni-5cd8b7471ffb02ada772d235740e9d17b8dd42b4.zip
Added support for the new fixed inquisitor message from Hypixel for the detection.
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt
index ae821f60f..4458ae6a8 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt
@@ -85,9 +85,12 @@ object InquisitorWaypointShare {
foundInquisitor(lastInquisitor)
}
- if (message.endsWith("§r§eYou dug out §r§2a Minos Champion§r§e!")) {
- time = System.currentTimeMillis()
- logger.log("found Champion/Inquisitor")
+ // TODO: Change the check to only one line once we have a confirmed inquis message line
+ if (message.contains("§r§eYou dug out ")) {
+ if (message.contains("Inquis")) {
+ time = System.currentTimeMillis()
+ logger.log("found Champion/Inquisitor")
+ }
}
}