diff options
author | alexia <me@alexia.lol> | 2023-11-26 19:52:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-26 19:52:01 +0100 |
commit | f4ccc48f058967c7e0714789f4a350aec9e27b40 (patch) | |
tree | 89a0064b55d741cb3437b3b872f61a446c0135f9 /src/main/java/at/hannibal2/skyhanni | |
parent | 120b8439891a67ffa21448b0ceec91c2509f10e9 (diff) | |
download | skyhanni-f4ccc48f058967c7e0714789f4a350aec9e27b40.tar.gz skyhanni-f4ccc48f058967c7e0714789f4a350aec9e27b40.tar.bz2 skyhanni-f4ccc48f058967c7e0714789f4a350aec9e27b40.zip |
Don't hide messages from Jacob (#728)
Don't hide messages from Jacob #728
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/VisitorConfig.java | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/VisitorConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/VisitorConfig.java index d010b11d3..7c93d7526 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/VisitorConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/VisitorConfig.java @@ -60,7 +60,7 @@ public class VisitorConfig { public boolean hypixelArrivedMessage = true; @Expose - @ConfigOption(name = "Hide Chat", desc = "Hide chat messages from the visitors in garden. (Except Beth and Spaceman)") + @ConfigOption(name = "Hide Chat", desc = "Hide chat messages from the visitors in garden. (Except Beth, Jacob and Spaceman)") @ConfigEditorBoolean @FeatureToggle public boolean hideChat = true; diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt index 4995decc8..60b1d041d 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt @@ -436,6 +436,7 @@ class GardenVisitorFeatures { private fun hideVisitorMessage(message: String) = visitorChatMessagePattern.matchMatcher(message) { val name = group("name") + if (name == "Jacob") return false if (name == "Spaceman") return false if (name == "Beth") return false |