From a8d5fed7d2994f86affb46774a463bb063a36c2b Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Mon, 7 Oct 2024 14:46:09 +0200 Subject: Fix drill ability not being detected with ability scrolls --- src/main/kotlin/features/mining/PickaxeAbility.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/features/mining/PickaxeAbility.kt b/src/main/kotlin/features/mining/PickaxeAbility.kt index ca8ae6b..318a868 100644 --- a/src/main/kotlin/features/mining/PickaxeAbility.kt +++ b/src/main/kotlin/features/mining/PickaxeAbility.kt @@ -149,7 +149,7 @@ object PickaxeAbility : FirmamentFeature { val cooldownPattern = Pattern.compile("Cooldown: (?$TIME_PATTERN)") - val abilityPattern = Pattern.compile("Ability: (?.*) {2}RIGHT CLICK") + val abilityPattern = Pattern.compile("(⦾ )?Ability: (?.*) {2}RIGHT CLICK") val abilitySwitchPattern = Pattern.compile("You selected (?.*) as your Pickaxe Ability\\. This ability will apply to all of your pickaxes!") -- cgit