aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/pests/SprayFeatures.kt2
1 files changed, 1 insertions, 1 deletions
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")