diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-03-22 20:41:23 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-03-22 20:41:23 +0100 |
commit | 164c98b5103f60b4b2802023735d2ece7670d4f5 (patch) | |
tree | cbc5ad0f4966a0a009e8ab76e263068c2241a491 /src/main/java | |
parent | a8138b0aa20d2b2fd266b1352eaf075999365bb6 (diff) | |
download | skyhanni-164c98b5103f60b4b2802023735d2ece7670d4f5.tar.gz skyhanni-164c98b5103f60b4b2802023735d2ece7670d4f5.tar.bz2 skyhanni-164c98b5103f60b4b2802023735d2ece7670d4f5.zip |
fix error
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/pests/SprayFeatures.kt | 2 |
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") |