diff options
author | Luna <luna@alexia.lol> | 2024-06-30 11:30:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-30 11:30:43 +0200 |
commit | 0b78af1a396b3c6bebb8acd94fe3642a2894bd7a (patch) | |
tree | 0f3c7e959003a3bf1beae0e210ad5ad1dfc486d0 /src/main/java/at | |
parent | aaee44528385506884774c35d73017cf6e0b2935 (diff) | |
download | skyhanni-0b78af1a396b3c6bebb8acd94fe3642a2894bd7a.tar.gz skyhanni-0b78af1a396b3c6bebb8acd94fe3642a2894bd7a.tar.bz2 skyhanni-0b78af1a396b3c6bebb8acd94fe3642a2894bd7a.zip |
Fix: Also block opening Chocolate Factory with /factory (#2154)
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryBlockOpen.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryBlockOpen.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryBlockOpen.kt index 74c1ca234..625fd1d6b 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryBlockOpen.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryBlockOpen.kt @@ -21,10 +21,11 @@ object ChocolateFactoryBlockOpen { * REGEX-TEST: /cf test * REGEX-TEST: /chocolatefactory * REGEX-TEST: /chocolatefactory123456789 + * REGEX-TEST: /factory */ private val commandPattern by RepoPattern.pattern( "inventory.chocolatefactory.opencommand", - "\\/(?:cf|chocolatefactory)(?: .*)?", + "\\/(?:cf|(?:chocolate)?factory)(?: .*)?", ) private var commandSentTimer = SimpleTimeMark.farPast() |