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 9a25a67ce..eeb959f4f 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
@@ -24,7 +24,7 @@ class SprayFeatures {
if (!config.pestWhenSelector) return
val type = pattern.matchMatcher(event.message) {
- val sprayName = group("spray") + "d"
+ val sprayName = group("spray")
SprayType.getByName(sprayName) ?: run {
ErrorManager.logErrorStateWithData(
"Error reading spray material", "SprayType is null",