aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-11 23:45:17 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-11 23:45:17 +0100
commitff99c10c671cb6f594cc7670216328801fce85b4 (patch)
treefe458272b304d3a014148a76f7ba15128a94fc6b /src
parent004a12365fe5b88c59afae5291578bc9d1e1491c (diff)
downloadskyhanni-ff99c10c671cb6f594cc7670216328801fce85b4.tar.gz
skyhanni-ff99c10c671cb6f594cc7670216328801fce85b4.tar.bz2
skyhanni-ff99c10c671cb6f594cc7670216328801fce85b4.zip
Allows hiding autopet messages in chat without having pet display enabled.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt
index 49d12b7aa..4b4d39816 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt
@@ -28,7 +28,7 @@ class CurrentPetDisplay {
fun onChatMessage(event: LorenzChatEvent) {
findPetInChat(event.message)?.let {
PetAPI.currentPet = it
- if (config.display && config.hideAutopet) {
+ if (config.hideAutopet) {
event.blockedReason = "pets"
}
}