From 0b78af1a396b3c6bebb8acd94fe3642a2894bd7a Mon Sep 17 00:00:00 2001 From: Luna Date: Sun, 30 Jun 2024 11:30:43 +0200 Subject: Fix: Also block opening Chocolate Factory with /factory (#2154) --- .../features/inventory/chocolatefactory/ChocolateFactoryBlockOpen.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main') 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() -- cgit