diff options
author | Linnea Gräf <nea@nea.moe> | 2024-10-07 14:46:09 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-10-07 14:46:09 +0200 |
commit | a8d5fed7d2994f86affb46774a463bb063a36c2b (patch) | |
tree | c8079ebf98d190228bd68a1ea9d051a8d64ef81e /src | |
parent | 709f5d59c59ddfa13945f1abd81fd7951be28e77 (diff) | |
download | firmament-a8d5fed7d2994f86affb46774a463bb063a36c2b.tar.gz firmament-a8d5fed7d2994f86affb46774a463bb063a36c2b.tar.bz2 firmament-a8d5fed7d2994f86affb46774a463bb063a36c2b.zip |
Fix drill ability not being detected with ability scrolls
Diffstat (limited to 'src')
-rw-r--r-- | src/main/kotlin/features/mining/PickaxeAbility.kt | 2 |
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!") |