From ab0b725d94efc9aa2799cdcb2f4000bdf49284c3 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 23 Oct 2024 18:11:21 +0200 Subject: code cleanup --- src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt | 1 + .../java/at/hannibal2/skyhanni/features/event/spook/TheGreatSpook.kt | 4 ++-- src/main/java/at/hannibal2/skyhanni/features/misc/LockMouseLook.kt | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt index 41ac6854e..c374a2279 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt @@ -164,6 +164,7 @@ object ChatFilter { @Suppress("MaxLineLength") private val slayerDropPatterns = listOf( // Zombie + // TODO merge patterns together. Just because old ones are designed poorly doesnt mean new ones need to be poor as well "§b§lRARE DROP! §r§7\\(§r§f§r§7(.*)x §9Revenant Viscera§r§7\\) (.*)".toPattern(), "§b§lRARE DROP! §r§7\\(§r§f§r§9Revenant Viscera§r§7\\) (.*)".toPattern(), "§b§lRARE DROP! §r§7\\(§r§f§r§7(.*)x §r§f§r§9Foul Flesh§r§7\\) (.*)".toPattern(), diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/spook/TheGreatSpook.kt b/src/main/java/at/hannibal2/skyhanni/features/event/spook/TheGreatSpook.kt index cf3896114..4e88237e0 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/spook/TheGreatSpook.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/spook/TheGreatSpook.kt @@ -85,7 +85,7 @@ object TheGreatSpook { return } ChatUtils.clickToActionOrDisable( - "The answer is: §b$answer", + "The answer is §b$answer§e.", config.primalFearSolver::math, actionName = "Send the answer", action = { @@ -96,7 +96,7 @@ object TheGreatSpook { private fun publicSpeakingSolver() { ChatUtils.clickToActionOrDisable( - "Click to complete the Primal Fear", + "Solving Public Speak puzzle for you.", config.primalFearSolver::publicSpeaking, actionName = "send a random string.", action = { diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/LockMouseLook.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/LockMouseLook.kt index 3e1388a67..0691b9702 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/LockMouseLook.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/LockMouseLook.kt @@ -17,6 +17,9 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent @SkyHanniModule object LockMouseLook { + /** + * REGEX-TEST: §aTeleported you to §r§aPlot + */ private val gardenTeleportPattern by RepoPattern.pattern( "chat.garden.teleport", "§aTeleported you to .*", -- cgit