aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/features/mining
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-10-07 14:46:09 +0200
committerLinnea Gräf <nea@nea.moe>2024-10-07 14:46:09 +0200
commita8d5fed7d2994f86affb46774a463bb063a36c2b (patch)
treec8079ebf98d190228bd68a1ea9d051a8d64ef81e /src/main/kotlin/features/mining
parent709f5d59c59ddfa13945f1abd81fd7951be28e77 (diff)
downloadfirmament-a8d5fed7d2994f86affb46774a463bb063a36c2b.tar.gz
firmament-a8d5fed7d2994f86affb46774a463bb063a36c2b.tar.bz2
firmament-a8d5fed7d2994f86affb46774a463bb063a36c2b.zip
Fix drill ability not being detected with ability scrolls
Diffstat (limited to 'src/main/kotlin/features/mining')
-rw-r--r--src/main/kotlin/features/mining/PickaxeAbility.kt2
1 files changed, 1 insertions, 1 deletions
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: (?<cooldown>$TIME_PATTERN)")
- val abilityPattern = Pattern.compile("Ability: (?<name>.*) {2}RIGHT CLICK")
+ val abilityPattern = Pattern.compile("(⦾ )?Ability: (?<name>.*) {2}RIGHT CLICK")
val abilitySwitchPattern =
Pattern.compile("You selected (?<ability>.*) as your Pickaxe Ability\\. This ability will apply to all of your pickaxes!")