From 164c98b5103f60b4b2802023735d2ece7670d4f5 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Fri, 22 Mar 2024 20:41:23 +0100 Subject: fix error --- .../java/at/hannibal2/skyhanni/features/garden/pests/SprayFeatures.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/SprayFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/SprayFeatures.kt index 462dccb16..269f9661c 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/SprayFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/SprayFeatures.kt @@ -32,7 +32,7 @@ class SprayFeatures { @SubscribeEvent fun onChat(event: LorenzChatEvent) { - if (!config.pestWhenSelector) return + if (!isEnabled()) return val type = changeMaterialPattern.matchMatcher(event.message) { val sprayName = group("spray") -- cgit